Share via


Creating a Dialog Class with ClassWizard

OverviewHow Do I

The following table lists dialog-related tasks that ClassWizard helps you manage.

Dialog-Related Tasks

Task Apply to . . .
Create a new CDialog-derived class to manage your dialog box. Each dialog box.
Map Windows messages to your dialog class. Each message you want handled.
Declare class member variables to represent the controls in the dialog box. Each control that yields a text or numeric value you want to access from your program.
Specify how data is to be exchanged between the controls and the member variables. Each control you want to access from your program.
Specify validation rules for the member variables. Each control that yields a text or numeric value, if desired.

You can also do many of these tasks with WizardBar.

What do you want to know more about?

See Also   Life Cycle of a Dialog Box