Ets_Tool_Close_Check_Callback_Register()

Note: Requires OPNET Development Kit

Abstract

Registers a function to be called when the user tries to close the current tool window.

Syntax

Ets_Tool_Close_Check_Callback_Register (close_check_callback_proc)
Argument Type Description
close_check_callback_proc EtsT_Tool_Close_Check_Callback Function called when the user tries to close the current tool window.

Return Type

EtsT_Tool_Close_Check_Callback

The previous value of the tool window's close check procedure.

ets_api_tool.h

Details

Before the application calls this function, it will call the "close check" function to determine whether it is OK to close the window without user interaction. If this function returns FALSE, the application might redraw or expand the tool window before calling the "close" procedure.

Returns the previous value of the tool window's close check procedure.

Because the callback function is being called directly by the application, caution should be taken in implementing it.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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