Ets_Confirm_Basic_Open()
Note: Requires OPNET Development Kit
Abstract
Creates a simple dialog box with a message and asks for user confirmation.
Syntax
Ets_Confirm_Basic_Open (prompt, client_state_ptr, ok_proc, cancel_proc)
| Argument | Type | Description |
|---|---|---|
prompt |
const char * |
Message to be displayed in the dialog box. |
client_state_ptr |
void * |
User-defined data to be passed to the callback procedures. |
ok_proc |
EtsT_Confirm_Handler |
Callback procedure for handling a response of "OK". |
cancel_proc |
EtsT_Confirm_Handler |
Callback procedure for handling a response of "Cancel". |
Return Type
void
No return value.
Header
ets_api_gui.h
Details
This function creates a simple dialog box that displays a message and gives the user the options of OK and Cancel. Based on the user's selection, either ok_proc or cancel_proc is called to take the necessary actions.
The prototype for ok_proc and cancel_proc is given by EtsT_Confirm_Handler.