Retrieves a System.Windows.Forms.Screen for the display that contains the largest portion of the object referred to by the specified handle.
- hwnd
- The window handle for which to retrieve the System.Windows.Forms.Screen.
A System.Windows.Forms.Screen for the display that contains the largest region of the object. In multiple display environments where no display contains any portion of the specified window, the display closest to the object is returned.