EtsT_File_Chooser_Close_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called when a file chooser dialog box is closed.

Syntax

<close_proc_name> (client_state_ptr, cancel_flag)
Argument Type Description
client_state_ptr void * User-defined data that is passed to the callback.
cancel_flag int Indicates action that resulted in this function call. If 0, the EtsT_File_Chooser_Ok_Proc was called and completed its operation; if 1, the Cancel button was clicked.

Return Type

void

No return value.

ets_api_gui.h

Details

If registered by Ets_File_Chooser_Open_Create(), this function is called when the user clicks the Cancel button in an Open dialog box or when the file is successfully opened.

If registered by Ets_File_Chooser_Save_Create(), this function is called when the user clicks the Cancel button in a Save dialog box or when the file is successfully saved.

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