Home | Overview | How Do I | Tutorial
If you have made numerous changes to your code or have added a large number of existing user-interface classes to your current project, you may find it convenient to rebuild the associated ClassWizard (.clw) file from scratch rather than update it one class at a time. To do this, delete your project's .clw file and use ClassWizard to generate a new one. The newly-generated .clw file contains information about all the classes that have the special-format ClassWizard comments. For information on the ClassWizard special-format comments, see MFC Technical Note 6.
To rebuild the ClassWizard file
If ClassWizard appears, the project for which you deleted the .clw file is not the active project. From ClassWizard's Project drop-down list, select the project for which you want to rebuild the .clw file.
A message box asks if you want to rebuild the ClassWizard file from your source files.
The Select Source Files dialog box appears.
ClassWizard appears and generates a new .clw file.
See Also Keeping ClassWizard Updated When Code Changes, Deleting Classes, Renaming or Moving Classes