Changing a Symbol or Symbol Name (ID)

 

The latest version of this topic can be found at Changing a Symbol or Symbol Name (ID).

When you create a new resource or resource object, the development environment assigns it a default symbol name, for example, IDD_DIALOG1. You can use the Properties Window to change the default symbol name or to change the name of any symbol already associated with a resource.

To change a resource's symbol name

  1. In Resource View, select the resource.

    Note

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

  2. In the Properties window, type a new symbol name or select from the list of existing symbols in the ID box.

    If you type a new symbol name, it is automatically assigned a value.

You can use the Resource Symbols dialog box to change the names of symbols not currently assigned to a resource. For more information, see Changing Unassigned Symbols.

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: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Symbol Name Restrictions
Predefined Symbol IDs