2 references to MonitorFromRect
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1607
IntPtr monitorPtr = NativeMethods.
MonitorFromRect
(ref popupPlacementTargetRect, NativeMethods.MONITOR_DEFAULTTONEAREST);
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
168
IntPtr monitor = NativeMethods.
MonitorFromRect
(ref nativeBounds, NativeMethods.MONITOR_DEFAULTTONEAREST);