Creating a Dialog Class with Code Wizards

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Creating a Dialog Class with Code Wizards.

The following table lists dialog-related tasks that Code Wizards help you manage.

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

Dialog Boxes
Life Cycle of a Dialog Box