WindowFromPhysicalPoint function
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Reference
- WindowFromPoint
- ChildWindowFromPoint
- Conceptual
- Windows
- Other Resources
- POINT
- WindowFromDC
Send comments about this topic to Microsoft
Build date: 2/3/2012