PRB: DIALOG.EXE Reads Compiled .RES Files, Not .DLG Files

ID: Q40958


The information in this article applies to:


SYMPTOMS

Create a dialog box using DIALOG.EXE, the Dialog Editor. From MS-DOS, change an attribute (for example, position of control) of the dialog box by modifying the .DLG file produced by DIALOG.EXE. Invoke DIALOG.EXE again, the changes that were made are not evident.


CAUSE

The Dialog Editor produces .DLG and .RES files for the dialog box created. When using the Dialog Editor to modify an existing dialog box, the Dialog Editor will look at the .RES file for information about the makeup of the dialog box. The .DLG file is completely ignored at this point. This is why the Dialog Editor does not recognize any .DLG changes.


RESOLUTION

For the modifications to be recognized, the Resource Compiler (RC) must be used with the -r switch to compile the .DLG file. The new .RES file can then be loaded into the Dialog Editor and the changes will be recognized.

Additional query words: 3.00 3.10 3.50 win16sdk


Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: March 3, 1999