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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com