The following procedure shows you how to use WizardBar to declare a class for the dialog box you just created.
Note The following procedure assumes you have the Pen Widths dialog resource open, and that you have not previously declared a class for it.
To declare the new dialog class
The New Class dialog box appears.
The New Class Dialog Box
CPenWidthsDlg
.In the File name box, the name is assigned for the implementation (.cpp) file based on the characters you type. If you wanted to change the filename, you would click the Change button.
When you click CDialog, the Dialog ID box is activated with the default IDD_PEN_WIDTHS
.
This creates the class and closes the New Class dialog box.