◄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 ♦