Having completed the dialog box in Designing the Application, you only need to create the main application window. Like the dialog box created, you use the New menu item in the Edit menu. Again the New Dialog/Window dialog box will be displayed. Instead of selecting one of the dialog box types, you want to select the window type, which is the bottom-right image in the dialog box.
This time, when the Dialog/Window Styles dialog box is displayed, select Parent window in the Type combination box and the styles: Title bar, System menu, Visible, Size border, Menu, Min button, Max button, Accelerators, and Shell position.
For the title, type Example Window. For the ID symbol and value, click on the entry field and WIN_WINDOWTITLE will show up. You do this because the icon being used in the dialog box is the same icon that will be used for the main window. Usually, the main window uses the ID of the icon. For the description, type Example Window in the entry field labeled Description.
You will notice that the main parent window will fill most of the IRE window but will not have an action bar; it will be displayed after you add an action-bar menu item.
See Adding New Elements.
![]()
Designing and Building
Applications
Designing the
Application
Adding New Elements
Creating Menus
Saving and
Generating the Resource Script Files