EtsT_Command_Query_Enabled_State_Proc
Note: Requires OPNET Development Kit
Abstract
Callback: Called as needed to determine if an operation should be enabled.
Syntax
<enabled_state_proc_name> (query_id_str)
| Argument | Type | Description |
|---|---|---|
query_id_str |
const char * |
Arbitrary string defined in the ETS operation list and used to identify the operation of interest to this callback procedure. |
Return Type
int
EtsC_True if the operation should be enabled; EtsC_False for disabled.
Header
ets_client.h
Details
This callback should determine if the operation (a menu, menu item, or tool button) identified by query_id_str must be displayed as enabled or disabled in the GUI. See “Dynamically Updating Operation Status“ on page 33 for an explanation of how to use this callback.