In scenarios with more than one monitor when the RibbonWindow is run on 64bit process and e.g. using VBE7.dll, the WM_NCHITTEST message, which is sent to the window in order to determine what part of the window corresponds to a particular screen coordinate, could provide lParam with value which overflows Int32. Available in LIB version: 2017.1.313