Save

The Save command saves the current dialogs.

·To save the current dialog:

From the File menu, choose Save.

If the file is unnamed, the Save Resource File dialog box appears. This dialog box will prompt you for a base name for the files that the Dialog Editor writes if you haven't previously saved the dialogs. The default name is DIALOGS.

If you have defined any symbolic names in the current dialogs, the editor will save them in an include (.H) file. The Save Resource File dialog box prompts you for a base name for the .H file. Use the default base name. If you want to merge the symbols with an existing .H file, use Set Include on the File menu. There are advantages, though, to keeping the dialog symbols in their own dedicated file.

The Dialog Editor will write the files DIALOGS.RES, DIALOGS.DLG, and DIALOGS.H.

The dialog data is contained in the .RES and .H files. The .DLG file is the .RES file data written in the form of resource script statements. The .DLG and .H files are used to integrate the current dialogs into your application.

Note that the .RES file is not the .RES file that is normally linked into your application. The editor's .RES file is only meant to be read by the Dialog Editor.

You can also read dialogs from an application's .RES file. For more information, see “Using the Dialog Editor for Preexisting Projects” on page 17.

For a further description of the files produced by the Dialog Editor and their uses, see “Including New Dialogs in an Application” on page 13.

Related Command:

File Menu: Set Include