Ets_Ctl_Tree_Root_Element_Get()

注意: 需要 OPNET Development Kit

摘要

返回指定树控件的根元素。

语法

Ets_Ctl_Tree_Root_Element_Get (tree_ctl_ptr)
参数 类型 说明
tree_ctl_ptr EtsT_Ctl * 要查找根元素的树控件。

返回类型

EtsT_Tree_Element *

指向树控件根元素的指针;若失败则返回 NIL。

头文件

ets_api_gui.h

详情

接收目标树控件,返回当前作为树根的元素。将根元素传给 Ets_Tree_Element_Destroy() 可用于销毁整棵树。要将某个元素设置为树控件的根,请参阅 Ets_Ctl_Tree_Root_Element_Set()。

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