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.
Header
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.