Resource file Description: use resources (continued)

Source: Internet
Author: User


# @ Resource Nodes @ dialog box
You can use the @ Resource Nodes des @ dialog box to modify the normal work arrangement of the environment. This arrangement stores all resources in the. rc file of the project and stores all symbols in Resource. h.
To open the @ Resource endpoints des @ dialog box, right-click the. rc file in Resource View and select @ Resource endpoints des @ from the shortcut menu @.
Symbol header file
Allows you to change the name of the header file defined by the symbol of the storage resource file. For more information, see Changing the Names of Symbol Header Files.
Read-Only symbol command
This allows you to include header files that do not contain symbols modified during session editing.
For example, you can include a symbolic file shared by several projects.
You can also include the MFC. h file. For more information, see Including Shared (Read-Only) or Calculated Symbols.
Compile-time instruction
Allows resource files that are created and edited independently by using resources in the primary resource file, including compile-time commands (for example, commands containing resources by conditions), or resources in custom formats.
You can also use the @ Compile-time directives @ box to include Standard MFC resource files. For more information, see Including Resources at Compile Time.
Note that the items in these text boxes appear in. rc files marked with TEXTINCLUDE 1, TEXTINCLUDE 2, and TEXTINCLUDE 3 respectively. For more information, see TN035: Using Multiple Resource Files and Header Files with Visual C ++.
Once the Resource file is changed in the @ Resource endpoints des @ dialog box, you need to close the. rc file and re-open it for the change to take effect. For more information, see Including Resources at Compile Time.
See
Specifying Include Directories for Resources | Symbols: Resource Identifiers (IDs) | Resource Files | Resource Editors
# Specify the resource inclusion directory
Specify the directory of all projects
1. Click @ Options @ on the @ Tools @ menu @.
2. In the @ Options @ dialog box, expand the @ Projects @ folder and click the @ VC ++ Directories @ page.
3. In the @ Show directories for: @ drop-down list, select @ Include files @.
4. Use the button in the @ Options @ dialog box to add an additional include path.
This is the global setting that affects all projects.
In Visual Studio, the relative inclusion path of the. rc file must be based on the current directory of the. rc file.
Specify the directory of a specific project
1. Right-click the project in Solution Explorer and select @ Properties @ from the shortcut menu @.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.