Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>ischild()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IsChild()
Determine whether a window is a child or descendant of another window
------------------------------------------------------------------------------

Syntax
IsChild( <hWndParent>, <hWndChild> )   -->   lChild

Arguments
<hWndParent> is the handle of the parent window.

<hWndChild> is the handle of the window that may be a child.

Returns
A logical TRUE (.T.) is returned if the <hWndChild> window is
a child or direct descendant of the <hWndParent> window.
Otherwise, FALSE (.F.) is returned.

Description
This function determines whether the window specified by the
second parameter is a child or direct descendant of the window
specified by the first parameter.  (A direct descendant is a
child, grandchild, great-grandchild, etc.)

Example
// this one is always false:
? IsChild( hWnd, hWnd )


See Also: IsWindow()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson