WindowFromPoint (Compact 2013)
3/28/2014
This function retrieves the handle to the window that contains the specified x-y coordinates.
Syntax
HWND WindowFromPoint(
POINT Point
);
Parameters
- Point
[in] Specifies a POINT structure that defines the x-y coordinates to be checked.
Return Value
Returns a handle to the window that contains the x-y coordinates to indicate success. Returns NULL to indicate that no window exists at the specified x-y coordinates.
Remarks
The WindowFromPoint function does not retrieve a handle to a hidden or disabled window, even if the x-y coordinate is within the window. To determine if child windows of a parent window contain an x-y coordinate, use the ChildWindowFromPoint function.
Requirements
Header |
winuser.h |