使用資源
資源可以由廣範的元素組成,其中包括:
• 向使用者提供資訊的介面元素(如位元影像、表徵圖或游標)。
• 包含應用程式所需資料的自訂資源。
• 安裝 API 所使用的版本資源。
• 菜單和對話方塊資源。
可以向項目添加新資源並使用適當的資源編輯器修改這些資源。
大多數 Visual C++ 嚮導自動為項目產生 .rc 檔案。
本節內容
• Resource Files
• Creating a New Resource Script (.rc) File
• Creating a New Resource
• Viewing Resources in an .rc File
• Opening a Resource Script File in Text Format
• Including Resources at Compile Time
• Specifying Include Directories for Resources
• Copying Resources
• Searching for Symbols in Resources
• Using Resource Templates (.rct)
• Importing and Exporting Resources
• Manifest Resources
• Symbols: Resource Identifiers (IDs)
• Resource Editors
• Viewing Resources in a Resource Editor
• Editing Resources in a Resource Editor
• Resource Previews
相關章節
• Resource View
• Platform SDK 的Resources一節
使用 Visual C++
• Porting and Upgrading
• Creating and Managing Visual C++ Projects
• Building Your Program
• Adding Functionality
使用 Visual Studio .NET 開發代碼