EtsT_Table_Click_Proc
Note: Requires OPNET Development Kit
Abstract
Callback: Used to perform custom processing when a user clicks in a table cell.
Syntax
<click_proc_name> (dbox_ptr, control_name, row, column, state_ptr)
| Argument | Type | Description |
|---|---|---|
dbox_ptr |
EtsT_Dbox * |
Dialog box containing the table of interest. |
control_name |
const char * |
Name of the table control of interest. |
row |
int |
Table row clicked in. |
column |
int |
Table column clicked in. |
state_ptr |
void * |
User-defined state information associated with the table. |
Return Type
void
No return value.
Header
ets_api_gui.h
Details
This callback can call other ETS functions to perform custom actions, such as displaying a pop-up menu (using Ets_Ctl_Table_Cell_Popup()) or opening the cell for editing by the user (using Ets_Ctl_Table_Cell_Edit()). See the Control Sub-Package for other useful functions.
Callbacks of this type are associated with a table in op_etsed, as ETS Left Click Proc, ETS Double Click Proc, and ETS Right Click Proc.