Ets_Dbox_State_Set()
Note: Requires OPNET Development Kit
Abstract
Sets a dialog box's state pointer.
Syntax
Ets_Dbox_State_Set (ets_dbox_ptr, state_ptr)
| Argument | Type | Description |
|---|---|---|
ets_dbox_ptr |
EtsT_Dbox * |
pointer to an ETS dialog box |
state_ptr |
void * |
pointer to arbitrary data |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if ets_dbox_ptr is invalid; otherwise EtsC_Compcode_Success.
Header
ets_api_gui.h
Details
Set the state pointer of the specified dialog box to the given value; this value may later be retrieved by calling Ets_Dbox_State_Get() for the dialog box. This allows arbitrary states to be associated with a dialog box.