Group: Window - Library: user32
The IsChild function tests whether a window is a child window or descendant window of a specified parent window
Using IsChild() for testing ThisForm.ShowWindow property
BOOL IsChild(
HWND hWndParent, // handle of parent window
HWND hWnd // handle of window to test
);
DECLARE INTEGER IsChild IN user32;
INTEGER hWndParent,;
INTEGER hwnd
hWndParent Identifies the parent window.
hWnd Identifies the window to be tested
If the window is a child or descendant window of the specified parent window, the return value is TRUE