Share via


Adding MFC Support to Resource Script Files

OverviewHow Do I

Normally, when you build an MFC application for Windows from scratch using AppWizard, you start by generating a basic set of files (including a resource script file (.rc)) that contains the core features of the Microsoft Foundation classes. However, if you are editing an .rc file for an application for Windows that is not based on MFC, the following features specific to the MFC framework are not available:

  • ClassWizard

  • Menu prompt strings 

  • List contents for combo-box controls

You can, however, add MFC support to existing .rc files that do not have it.

To add MFC support to .rc files

  1. Open the resource file.

  2. In ResourceView, highlight the resources folder.

  3. Right-click and select Properties on the shortcut menu.

  4. Select the Enable MFC Features check box.