| title | Creating a 256-Color Icon or Cursor (Image Editor for Icons) | |||||
|---|---|---|---|---|---|---|
| ms.date | 11/04/2016 | |||||
| helpviewer_keywords |
|
|||||
| ms.assetid | 2738089b-4fd3-4c45-96ae-6a15e4c6b780 |
Using the Image editor, icons and cursors can be sized large (64 × 64) with a 256-color palette to choose from. After creating the resource, a device image style is selected.
-
In Resource View, right-click your .rc file, then choose Insert Resource from the shortcut menu. (If you already have an existing image resource in your .rc file, such as a cursor, you can simply right-click the Cursor folder and select Insert Cursor from the shortcut menu.)
[!NOTE] If your project doesn't already contain an .rc file, please see Creating a New Resource Script File.
-
In the Insert Resource dialog box, select Icon or Cursor and click New.
-
On the Image menu, click New Device Image.
-
Select the 256-color image style you want.
For information on adding resources to managed projects, please see Resources in Desktop Apps in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see Creating Resource Files for Desktop Apps. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.
None
Using the 256-Color Palette
Accelerator Keys
Icons and Cursors: Image Resources for Display Devices