DisplayArea.GetFromWindowId(WindowId, DisplayAreaFallback) 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.
Gets the DisplayArea
for the specified WindowId
.
public:
static DisplayArea ^ GetFromWindowId(WindowId windowId, DisplayAreaFallback displayAreaFallback);
static DisplayArea GetFromWindowId(WindowId const& windowId, DisplayAreaFallback const& displayAreaFallback);
public static DisplayArea GetFromWindowId(WindowId windowId, DisplayAreaFallback displayAreaFallback);
function getFromWindowId(windowId, displayAreaFallback)
Public Shared Function GetFromWindowId (windowId As WindowId, displayAreaFallback As DisplayAreaFallback) As DisplayArea
Parameters
- windowId
- WindowId
The identifier of the window for which to get the DisplayArea
.
- displayAreaFallback
- DisplayAreaFallback
The DisplayArea
to use if no DisplayArea
is found with the given parameter.
Returns
The DisplayArea
for the specified WindowId
, or the display area indicated by displayAreaFallback if no match is found.