Ets_Prompt_Dbox_Generic_Create()

Note: Requires OPNET Development Kit

Abstract

Creates a simple dialog that displays a message and allows a user to respond.

Syntax

Ets_Prompt_Dbox_Generic_Create (title, dbox_prompt_text, callback, flags)
Argument Type Description
title const char * Title of the dialog box.
dbox_prompt_text PrgT_List * List of lines of text to be displayed in the dialog box.
callback EtsT_Prompt_Dbox_Generic_Action_Proc Procedure to be invoked after user makes a selection.
flags EtsT_Prompt_Dbox_Flags Flags that determine what options will be given to the user (one of the values in Table 12 Dialog Box Sub-Package Symbolic Constants).

Return Type

EtsT_Dbox *

The dialog box that was created.

ets_api_gui.h

Details

This function creates a simple dialog box that displays a specified message and presents the user with a set of responses to choose from (in the form of buttons). The predefined response sets are OK, OK / Cancel, Yes / No / Cancel, and Yes / No.

The prototype for the callback function is given in EtsT_Prompt_Dbox_Generic_Action_Proc.

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