Ets_Ctl_Tree_Root_Element_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the root element of a treeview control.
Syntax
Ets_Ctl_Tree_Root_Element_Set (ets_ctl_ptr, root_element_ptr)
| Argument | Type | Description |
|---|---|---|
ets_ctl_ptr |
EtsT_Ctl |
The tree view control. |
root_element_ptr |
EtsT_Tree_Element |
The element to set as root. |
Return Type
EtsT_Compcode
Either success or failure.
Header
ets_api_gui.h
Details
Sets the given element as the root element of the given tree view control. Use when first populating a tree view control or changing a tree view control's current root. To get the current root of a tree view control, see Ets_Ctl_Tree_Root_Element_Get().