BOOL IsChild(hwndOwner, hwnd) | |||||
HWND hwndOwner; | /* handle of parent window | */ | |||
HWND hwnd; | /* handle of child window | */ |
This function indicates whether the window specified by the hwnd parameter is a child window or other direct descendant of the window specified by the hwndOwner parameter. A child window is the direct descendant of a given parent window if that parent window is in the chain of parent windows that leads from the original pop-up window to the child window.
hwndOwner
Identifies a window.
hwnd
Identifies the window to be checked.
The return value specifies the outcome of the function. It is TRUE if the window identified by the hwnd parameter is a child window of the window identified by the hwndOwner parameter. Otherwise, it is FALSE.
IsWindow