Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 569 Bytes

GetNearestDisplayMonitor.md

File metadata and controls

22 lines (14 loc) · 569 Bytes

MonitorInfo.GetNearestDisplayMonitor method

Gets the display monitor that is nearest to a given window.

public static MonitorInfo GetNearestDisplayMonitor(IntPtr hwnd)
parameter description
hwnd Window handle

Return Value

The display monitor that is nearest to a given window, or null if no monitor is found.

See Also