Ets_Dbox_Child_Nth_Get()
Note: Requires OPNET Development Kit
Abstract
Retrieves a child of a dialog box.
Syntax
Ets_Dbox_Child_Nth_Get (ets_dbox_ptr, index)
| Argument | Type | Description |
|---|---|---|
ets_dbox_ptr |
EtsT_Dbox * |
Pointer to an ETS dialog box |
index |
int |
Index of the desired child |
Return Type
EtsT_Dbox *
Pointer to the specified child dialog box. The value is NULL if the index argument is out of range, or -1 if the ets_dbox_ptr argument is invalid.
Header
ets_api_gui.h
Details
Given a dialog box, the function returns the child dialog as specified by the given index. This allows a function to iterate through all the children of a given dialog box. The number of children of a dialog box can be obtained by calling Ets_Dbox_Child_Count_Get(). If the index passed to this function is invalid (that is, less than zero or greater than or equal to the number of children), NULL is returned.