ChildWindowFromPoint function user32

HWND ChildWindowFromPoint(
  1. HWND hWndParent,
  2. POINT point
)

Determines which, if any, of the child windows belonging to a parent window contains the specified point.

The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are not searched.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-childwindowfrompoint.

Implementation

@pragma('vm:prefer-inline')
HWND ChildWindowFromPoint(HWND hWndParent, POINT point) =>
    HWND(_ChildWindowFromPoint(hWndParent, point));