EtsT_Tool_Close_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Called when a tool window is closed.
Syntax
<close_callback_proc_name> ()
| Argument | Type | Description |
|---|---|---|
| no arguments |
Return Type
void
No return value.
Header
ets_api_tool.h
Details
When an application tool window (such as a project editor) is closed, if a callback function of type EtsT_Tool_Close_Callback has been previously registered (by passing it to Ets_Tool_Close_Callback_Register()), the callback function is called instead of the normal system behavior. This allows Ets client code to clean up any resources it has previously associated with this tool window before closing it, or even to override the close operation entirely. (The Ets client can close the current tool window programmatically by calling Ets_Tool_Close(), or abort a series of close operations initiated by a “quit” command by calling Ets_Tool_Close_Cancel().)