Share via


Previewing Resources

 

The latest version of this topic can be found at Previewing Resources.

Previewing your resources allows you to view graphical resource without opening them. Previewing is also useful for executables after you've compiled them because the resource identifiers change to numbers. Since these numeric identifiers often don't provide enough information, previewing the resources helps you quickly identify them.

You can preview the visual layout of the following resource types:

  • Bitmap

  • Dialog

  • Icon

  • Menu

  • Cursor

  • Toolbar

The visual preview function does not apply to Accelerator, Manifest, String Table, and Version Information resources.

To preview resources

  1. In Resource View or a document window, select your resource, for example, IDD_ABOUTBOX.

    Note If your project doesn't already contain an .rc file, please see Creating a New Resource Script File.

  2. In the Properties window, click the Property Pages button.

    - or -

  3. On the View menu, click Property Pages.

    The Property Page for the resource opens displaying a preview of that resource. You can then use the Up and Down arrow keys to navigate the tree control in Resource View or the document window. The Property Page will stay open and show any resource that has focus and is able to be previewed.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

How to: Open a Resource Script File Outside of a Project (Standalone)
Resource Editors