Ets_Ctl_Table_Cell_Selection_Get()

Note: Requires OPNET Development Kit

Abstract

Obtains the row and column of the currently selected cell of a table control.

Syntax

Ets_Ctl_Table_Cell_Selection_Get (table_ctl_ptr, row_ptr, column_ptr)
Argument Type Description
table_ctl_ptr EtsT_Ctl * pointer to an ETS control
row_ptr int * pointer to a variable to store the row index of the selected cell in the table
column_ptr int * pointer to a variable to store the column index of the selected cell in the table

Return Type

EtsT_Compcode

EtsC_Compcode_Failure if the control is not a table control; otherwise EtsC_Compcode_Success.

ets_api_gui.h

Details

Returns (by filling in the input int * arguments) the row and column of the currently-selected cell for the table in question. The selected cell can be set with Ets_Ctl_Table_Cell_Selection_Set() and is usually also set when the user clicks into a table cell.

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