WindowFromPoint (Windows CE 5.0)

Send Feedback

This function retrieves the handle to the window that contains the specified point.

HWNDWindowFromPoint(   POINTPoint );

Parameters

  • Point
    [in] Specifies a POINT structure that defines the point to be checked.

Return Values

A handle to the window that contains the point indicates success. NULL indicates that no window exists at the specified point. A handle to the window under the static text control indicates that the point is over a static text control.

Remarks

The WindowFromPoint function does not retrieve a handle to a hidden or disabled window, even if the point is within the window. An application should use the ChildWindowFromPoint function for a nonrestrictive search.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

ChildWindowFromPoint | POINT | Windows Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.