Ets_Confirm_Basic_Open()

Note: Requires OPNET Development Kit

Abstract

Creates a simple dialog box with a message and asks for user confirmation.

Syntax

Ets_Confirm_Basic_Open (prompt, client_state_ptr, ok_proc, cancel_proc)
Argument Type Description
prompt const char * Message to be displayed in the dialog box.
client_state_ptr void * User-defined data to be passed to the callback procedures.
ok_proc EtsT_Confirm_Handler Callback procedure for handling a response of "OK".
cancel_proc EtsT_Confirm_Handler Callback procedure for handling a response of "Cancel".

Return Type

void

No return value.

ets_api_gui.h

Details

This function creates a simple dialog box that displays a message and gives the user the options of OK and Cancel. Based on the user's selection, either ok_proc or cancel_proc is called to take the necessary actions.

The prototype for ok_proc and cancel_proc is given by EtsT_Confirm_Handler.

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