Share via


COMMON.RES Sample Resources

How Do IDetailsFAQ

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

  • A large number of icons that represent common business and data-processing tasks.

  • Several commonly used cursors that are not included as predefined Windows resources.

  • A selection of toolbar-button bitmaps.

These resources are located in a file called COMMON.RES in the MFC General sample . 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 , in the Visual C++ User’s Guide. And see Resource Editors: Overview for resource-editor topics specific to Visual C++.