Ets_Ctl_Table_Cell_Popup_With_Edit()

注意: 需要 OPNET Development Kit

摘要

从表格单元格显示弹出菜单,并提供让用户指定自定义值的选项。

语法

Ets_Ctl_Table_Cell_Popup (table_ctl_ptr, row, column, text_list, edit_cmd_str)
参数 类型 说明
table_ctl_ptr EtsT_Ctl * 指向 ETS 控件的指针
row int 待编辑单元格的行索引
column int 待编辑单元格的列索引
text_list PrgT_List * 用作弹出菜单项的字符串列表
edit_cmd_str const char * 用于接收编辑后字符串的缓冲区

返回类型

EtsT_Compcode

若控件不是表格控件,返回 EtsC_Compcode_Failure;否则返回 EtsC_Compcode_Success。

头文件

ets_api_gui.h

详情

此函数的工作方式与 Ets_Ctl_Table_Cell_Popup() 类似,但增加了返回用户指定值(edit_cmd_str)的能力,而不是返回 text_list 中的某个值。

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