EtsT_Tree_Tooltip_Proc
Note: Requires OPNET Development Kit
Abstract
Callback: Called to generate a custom tooltip for a treeview element.
Syntax
<tooltip_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 over which the cursor is positioned. |
Return Type
const char *
The string to be displayed as the element's tooltip.
Header
ets_api_gui.h
Details
This procedure is called when the cursor rests on an expanded treeview element for longer than the time specified by the “tooltip_delay“ preference.
This procedure is registered by specifying it as the Ets Tooltip Proc when defining a treeview in op_etsed.