Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Working with the Child List
In addition to the iterator functions ForEach() and FirstThat(), TDialog provides a number of functions that let you locate and manipulate a single child window:
NumChildren() returns an unsigned. This value indicates the total number of child windows in the child list.
GetFirstChild() returns a TWindow * that points to the first entry in the child list.
GetLastChild() returns a TWindow * that points to the last entry in the child list.
Next() returns a TWindow * that points to the next entry in the child list.
Previous() returns a TWindow * that points to the prior entry in the child list.