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.
Header
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().