Ets_Dbox_Create()

Note: Requires OPNET Development Kit

Abstract

Create a dialog box from the <Internal_Execution>.ets script file.

Syntax

Ets_Dbox_Create (parent_dbox_ptr, ets_intx_file_name)
Argument Type Description
parent_dbox_ptr EtsT_Dbox* attach newly created dialog as a child to that dialog. If the argument is OPC_NIL, then the created dialog box will have no parent
ets_intx_file_name const char * the name of the <Internal_Execution>.ets script file that defines the dialog box structure and contents.

Return Type

EtsT_Dbox *

a pointer to the created dialog, or OPC_NIL if an error occurred.

ets_api_gui.h

Details

Creates a dialog box with a structure and controls defined in an .ets script of "Internal Execution" format with the given name. Newly created dialog is attached to the supplied parent (which can be nil) and a reference to created dialog is returned.

The use of "Internal Execution" scripts for defining a dialog layout is deprecated as of release 7.0 in favor of using resource files (.wrc), which can be edited with the op_etsed utility and loaded with Ets_Dbox_Load() or Ets_Dbox_Load_Blocking().

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