Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowFromPhysicalPoint function

Retrieves a handle to the window that contains the specified physical point.

Syntax


HWND WINAPI WindowFromPhysicalPoint(
  _In_ POINT Point
);

Parameters

Point [in]

Type: POINT

The physical coordinates of the point.

Return value

Type:

Type: HWND

A handle to the window that contains the given physical point. If no window exists at the point, this value is NULL.

Remarks

The WindowFromPhysicalPoint function does not retrieve a handle to a hidden or disabled window, even if the point is within the window.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
WindowFromPoint
ChildWindowFromPoint
Conceptual
Windows
Other Resources
POINT
WindowFromDC

 

 

Show:
© 2017 Microsoft