COMMON.RES Sample Resources

HomeHow Do IDetailsFAQ

Visual C++ includes sample resources that you can use in your own application. These include:

These resources are located in a file called COMMON.RES in the MFC General sample CLIPART. Additional sample resources (.rc files) can be found in the same directory on the MSDN compact disc that holds the Visual C++ samples.

To copy resources from COMMON.RES to your own resource script file

  1. Use the Visual C++ File menu to open both your .RC file and COMMON.RES at the same time.

  2. Hold down the CTRL key and drag the resources you want from the COMMON.RES resource browser window to the resource browser window of your own application.

For more information about browsing and editing resources with Visual C++, see Overview: Resource Editors, in the Visual C++ User’s Guide. And see Resource Editors: Overview for resource-editor topics specific to Visual C++.