win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinIsChild (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
BOOL WinIsChild(hwnd, hwndParent)
HWND hwnd;          /* handle of the child window  */
HWND hwndParent;    /* handle of the parent window */
 
The WinIsChild function tests whether a specified window is a child of a
specified parent window.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
hwnd        Identifies the child window.
 
hwndParent  Identifies the parent window.
 
Return Value
 
The return value is TRUE if the child window is a descendant of the parent
window. The return value is FALSE if the child window is not a descendant of
the parent or if an error occurs.
 
See Also
 
WinSetParent