WindowFromPoint The WindowFromPoint function retrieves the handle of the window that contains the specified point.
VB4-32,5,6
Declare Function WindowFromPoint Lib "user32" Alias "WindowFromPoint" (ByVal xPoint As Long, ByVal yPoint As Long) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- Point
Specifies a POINT structure that defines the point to be checked. |
If the function succeeds, the return value is the handle of the window that contains the point. If no window exists at the given point, the return value is NULL. |
|