Example #1
0
 static extern IntPtr MonitorFromWindow(IntPtr hWind, NotFoundOptions notFoundOptions);
Example #2
0
 static extern IntPtr MonitorFromPoint(POINT point, NotFoundOptions notFoundOptions);
Example #3
0
 static extern IntPtr MonitorFromRect(RECT point, NotFoundOptions notFoundOptions);
Example #4
0
        public static MonitorInfo GetMonitorFromRect(Rect rect, NotFoundOptions notFoundOptions)
        {
            IntPtr hMonitor = MonitorFromRect(RECT.FromRect(rect), notFoundOptions);

            return(GetMonitorInfo(hMonitor));
        }
Example #5
0
        public static MonitorInfo GetMonitorFromWindow(Window windows, NotFoundOptions notFoundOptions)
        {
            IntPtr hMonitor = MonitorFromWindow(new WindowInteropHelper(windows).Handle, notFoundOptions);

            return(GetMonitorInfo(hMonitor));
        }
Example #6
0
 static extern IntPtr MonitorFromWindow(IntPtr hWind, NotFoundOptions notFoundOptions);
Example #7
0
        public static MonitorInfo GetMonitorFromPoint(Point point, NotFoundOptions notFoundOptions)
        {
            IntPtr hMonitor = MonitorFromPoint(POINT.FromPoint(point), notFoundOptions);

            return(GetMonitorInfo(hMonitor));
        }
Example #8
0
 static extern IntPtr MonitorFromRect(RECT point, NotFoundOptions notFoundOptions);
Example #9
0
 static extern IntPtr MonitorFromPoint(POINT point, NotFoundOptions notFoundOptions);
Example #10
0
 public static MonitorInfo GetMonitorFromWindow(Window windows, NotFoundOptions notFoundOptions)
 {
     IntPtr hMonitor = MonitorFromWindow(new WindowInteropHelper(windows).Handle, notFoundOptions);
     return GetMonitorInfo(hMonitor);
 }
Example #11
0
 public static MonitorInfo GetMonitorFromRect(Rect rect, NotFoundOptions notFoundOptions)
 {
     IntPtr hMonitor = MonitorFromRect(RECT.FromRect(rect), notFoundOptions);
     return GetMonitorInfo(hMonitor);
 }
Example #12
0
 public static MonitorInfo GetMonitorFromPoint(Point point, NotFoundOptions notFoundOptions)
 {
     IntPtr hMonitor = MonitorFromPoint(POINT.FromPoint(point), notFoundOptions);
     return GetMonitorInfo(hMonitor);
 }