Working with Resource Files
Caution
|
|---|
|
This section applies to Win32-based desktop applications written in C++. For information about resources in Windows Store apps written in C++, see Defining App Resources. For information on adding resources to C++/CLI projects, please see Resources in Applications in the .NET Framework Developer's Guide. |
Resources can be composed of a wide range of elements, including interface elements that provide information to the user (for example a bitmap, icon, or cursor); custom resources that contain data an application needs; version resources that are used by setup APIs; and menu and dialog box resources.
You can add new resources to your project and modify those resources using the appropriate resource editor. Most Visual C++ wizards will automatically generate an .rc file for your project.
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.
Caution