Retrieves a Screen object for the monitor that contains the largest portion of the specified window.
public static Screen fromHwnd( int hwnd )
hwnd
The window handle for which to retrieve the monitor.
Returns a Screen object for the monitor that contains the largest region of the specified window. If no monitor contains any portion of the specified window, then the monitor closest to the window is returned.
See Also fromControl, fromPoint, fromRectangle