Designing Dialogs for an Entire Application

You've now designed one dialog, but your application will probably need many.

Summary: Create a new dialog from the Edit menu.

To begin work on a second dialog, select New Dialog from the Edit menu. You've created a new dialog just as you did with the New command on the File menu, except that the first dialog you created still exists within the editor. You can create as many dialogs as you want. Each is automatically numbered in sequence (100, 200, and so on). Use the Select Dialog command from the Edit menu to switch between the dialog boxes.

Create each new dialog for an application with the New Dialog command so that you keep all the dialogs together. See the following section for a description of the files that the editor writes when it saves a group of dialogs.

You can individually save each dialog you create. But if you save them together, the Dialog Editor can avoid conflicts when it assigns ID values, and it can also alert you to conflicts when you choose symbolic names and IDs.

Also, if you save a dialog by itself, you need three include statements to place each one in your application. For the typical application, that means 100 include statements. When you keep an application's dialogs together in the same file, you need to place only three include statements for the whole project.