BOOL IsChild(hWndParent,hWnd)
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 hWndParent 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.
Parameter | Type/Description |
hWndParent | HWND Identifies a window. | |
hWnd | 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 hWndParent parameter. Otherwise, it is FALSE.