Dialog Box Resource File Editor
This chapter describes how you can create dialog boxes using the op_etsed utility included with OPNET Development Kit.
op_etsed is a hierarchical resource editor. The resource files created have a .wrc extension by default; this extension allows your application to recognize them as ETS dialogs. The resource files created may contain:
- Primitive resource types: strings, tags, integers, doubles, booleans. Tags are strings that are interned into a global table so their memory is shared.
- Dictionaries, which have named subresources of any type (including other dictionaries).
- Arrays. Arrays can have indexed subresources of any type (except other arrays), but the type must be the same for all elements of array.
Dialog boxes are represented as dictionary resources with specific subresources. Controls are represented as dictionaries nested inside of their dialog boxes. This structure is shown in the Resource File Editor.
Figure 15: Dialog Boxes and Controls in the Resource File Editor
