Adding an MFC Class (original) (raw)
To add classes derived from Microsoft Foundation Class (MFC) library classes to your project, use the Add Class button in Class Wizard. Specify the name of the new class, select the base class, and select the ID of the dialog box with which it is associated (if any). The wizard creates a header file and an implementation file and adds them to your project.
To add an MFC class to your project
From Class View, right-click the project name. Click Class Wizard and then click Add Class to open the Add MFC Class dialog box. Use Class Wizard to add message handlers or new methods.
See also
Adding Functionality with Code Wizards
Adding a Class
Class Overview