Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft