get_top_window


handle get_top_window(handle window)

This function finds the child window that is at the top of the z-order.

Parameters

handle window

The handle of the parent window.

Return

handle

null No child windows exist.
Other The handle of the child window that is at the top of the z-order.

Notes

If a null parent window handle is specified, the window at the top of the z-order is returned.