Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_ChildWindowFromPoint

Previous pageReturn to chapter overviewNext page

 

Description

 

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.

 

Syntax

 

n = Win_ChildWindowFromPoint(hWndParent, lPoint)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWndParent

Number

No

Handle to the parent window.

lPoint

UDT

No

Specifies a POINTAPI structure that defines the client coordinates (relative to hWndParent of the point to be checked)

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms632676(VS.85).aspx

 

Restrictions

 

See also

 

Examples