Using the 256-Color Palette
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
Select the large icon or cursor, or create a new large icon or cursor.
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
Tasks
Creating a 256-Color Icon or Cursor