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.

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().)

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com