Screen.FromHandle(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a Screen for the display that contains the largest portion of the object referred to by the specified handle.
public:
static System::Windows::Forms::Screen ^ FromHandle(IntPtr hwnd);
public static System.Windows.Forms.Screen FromHandle (IntPtr hwnd);
static member FromHandle : nativeint -> System.Windows.Forms.Screen
Public Shared Function FromHandle (hwnd As IntPtr) As Screen
Parameters
Returns
A 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.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.