is_child


bool is_child(handle parent,
             handle Child)

This function determines if a given window is a child of another window.

Parameters

handle parent

The handle of the potential parent window.

handle Child

The handle of the window being tested for descendant status.

Return

bool

true The given window is a descendant of the parent.
false The given window is not a descendant of the potential parent.

Notes

The window does not need to be a direct descendant - it merely needs to be in the chain of descendants.