Returning a pointer to a window’s first child window

first_child()

Return a pointer to a window’s first child window


SYNTAX

first_child(window_id)

Returns a pointer to the first child window in a window, or NULL if the window has no child windows. The term “first window” means the first defined in the program code.


EXAMPLE

!temp childptr,,p

     childptr = &first_child(WinMain)

RELATED TOPICS

Pre-defined windows

Hierarchy of windows

first_control()

first_menu()

next_object()

sys.FirstWindow