xtd 0.2.0
Loading...
Searching...
No Matches

◆ from_handle()

static screen xtd::forms::screen::from_handle ( intptr  handle)
static

Retrieves a screen for the display that contains the largest portion of the object referred to by the specified handle.

Parameters
handleThe window handle for which to retrieve the screen.
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 handle, the display closest to the object is returned.