Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.26 KB

creating-a-256-color-icon-or-cursor-image-editor-for-icons.md

File metadata and controls

34 lines (22 loc) · 2.26 KB
title Creating a 256-Color Icon or Cursor (Image Editor for Icons)
ms.date 11/04/2016
helpviewer_keywords
256-color palette
cursors [C++], color
colors [C++], icons
colors [C++], cursors
icons, color
ms.assetid 2738089b-4fd3-4c45-96ae-6a15e4c6b780

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

Requirements

None

See Also

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