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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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