Ets_Pj_Scenarios_Manage_Event_Callback_Register()
Note: Requires OPNET Development Kit
Abstract
Registers callbacks that can modify the functionality of the Manage Scenarios dialog box.
Syntax
Ets_Pj_Scenarios_Manage_Event_Callback_Register (editor_type_name, callback_proc, client_data)
| Argument | Type | Description |
|---|---|---|
editor_type_name |
const char * |
Type of editor for which this callback should be registered (see Details). |
callback_proc |
EtsT_Pj_Scenarios_Manage_Event_Callback |
Callback to handle responses to user inputs. |
client_data |
void * |
User-specified state information to be passed to the callback. |
Return Type
void
No return value.
Header
ets_api_pj.h
Details
Use this function to define actions for a custom Manage Scenarios dialog box (as created by Ets_Pj_Scenarios_Manage()) or to override the actions of the standard Manage Scenarios dialog box. This function can be called repeatedly to register callbacks for different editors.
editor_type_name must be one of the editor names defined in an ETS configuration file (such as <reldir>/sys/configs/modeler.ets). Valid editor names include “System” and “project”.
The prototype for callback_proc is given in EtsT_Pj_Scenarios_Manage_Event_Callback.