EtsT_Tree_Expand_Proc
Note: Requires OPNET Development Kit
Abstract
Callback: Called to handle the expansion of a treeview element.
Syntax
<expand_proc_name> (dbox_ptr, ctl_tree_name_ptr, expanded_element_ptr)
| Argument | Type | Description |
|---|---|---|
dbox_ptr |
EtsT_Dbox * |
Dialog box that contains the treeview control. |
ctl_tree_name_ptr |
const char * |
Tag of the treeview. |
expanded_element_ptr |
EtsT_Tree_Element * |
Treeview element that has been expanded. |
Return Type
int
EtsC_True if the event has been handled; EtsC_False otherwise.
Header
ets_api_gui.h
Details
This procedure is called when a treeview element is expanded. Use this procedure to compute and set the children of the element being expanded.
This procedure is registered by specifying it as the Ets Expand Proc when defining a treeview in op_etsed.