Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
We recommend using Visual Studio 2017

Symbols: Resource Identifiers


The latest version of this topic can be found at Symbols: Resource Identifiers.

A symbol is a resource identifier (ID) that consists of two parts: a text string (symbol name) mapped to an integer value (symbol value). For example:


Symbol names are most often referred to as identifiers.

Symbols provide a descriptive way of referring to resources and user-interface objects, both in your source code and while you're working with them in the resource editors. You can view and manipulate symbols in one convenient place using the Resource Symbols dialog box.

When you create a new resource or resource object, the resource editors provide a default name for the resource, for example, IDC_RADIO1, and assign a value to it. The name-plus-value definition is stored in the Resource.h file.

System_CAPS_ICON_note.jpg Note

When you are copying resources or resource objects from one .rc file to another, Visual C++ may change the transferred resource's symbol value, or symbol name and value, to avoid conflicts with symbol names or values in the existing file.

As your application grows in size and sophistication, so does its number of resources and symbols. Tracking large numbers of symbols scattered throughout several files can be difficult. The Resource Symbols dialog box simplifies symbol management by offering a central tool through which you can:

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.


How to: Search for Symbols in Resources
Resource Editors
Resource Files

© 2018 Microsoft