Delen via


Creating a Dialog Class with Code Wizards

The following table lists dialog-related tasks that Code Wizards help 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.

What do you want to know more about?

See Also

Concepts

Dialog Boxes

Life Cycle of a Dialog Box