1 out of 1 rated this helpful - Rate this topic

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

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
WindowFromPoint
ChildWindowFromPoint
Conceptual
Windows
Other Resources
POINT
WindowFromDC

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ