Share via


Using the 256-Color Palette (Image Editor for Icons)

 

The latest version of this topic can be found at Using the 256-Color Palette (Image Editor for Icons).

To draw with a selection from the 256-color palette, you need to select the colors from the Colors palette in the Colors window.

To choose a color from the 256-color palette for large icons

  1. Select the large icon or cursor, or create a new large icon or cursor.

  2. Choose a color from the 256 colors displayed in the Colors palette in the Colors window.

    The color selected will become the current color in the colors palette in the Colors window.

    Note

    The initial palette used for 256-color images matches the palette returned by the CreateHalftonePalette Windows API. All icons intended for the Windows shell should use this palette to prevent flicker during palette realization.

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

Accelerator Keys
Creating a 256-Color Icon or Cursor
Icons and Cursors: Image Resources for Display Devices