<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > Windows API > Win_ChildWindowFromPoint2 |
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_ChildWindowFromPoint2(hWndParent, x, y)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
hWndParent |
Number |
No |
Handle to the parent window. |
x |
Number |
No |
X client coordinates (relative to hWndParent of the point to be checked) |
y |
Number |
No |
Y 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