Share via


Creating a 256-Color Icon or Cursor (Image Editor for Icons)

 

The latest version of this topic can be found at Creating a 256-Color Icon or Cursor (Image Editor for Icons).

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.

To create a 256-color icon or cursor

  1. 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.

  2. In the Insert Resource dialog box, select Icon or Cursor and click New.

  3. On the Image menu, click New Device Image.

  4. Select the 256-color image style you want.

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.

Requirements

None

See Also

Using the 256-Color Palette
Accelerator Keys
Icons and Cursors: Image Resources for Display Devices