Use Resource Editor to Create 16-Color 32x32 Mouse PointersLast reviewed: July 31, 1997Article ID: Q135047 |
2.00 2.10 2.20 4.00 4.10
WINDOWS NT
kbusage
The information in this article applies to :
SUMMARYThis article gives the steps necessary to use the Visual C++ Resource Editor to create 16-color, 32x32 mouse pointers (cursors) in Windows NT and Windows 95. If Visual C++ version 2.x does not contain a Cursor Devices key in the system registry, the cursor editor uses the monochrome device description that you can use to create two-color, 32x32 mouse pointers. To create colored mouse pointers (cursors), you need to have color display drivers. This article illustrates how you can add a display device entry to the system registry for Visual C++ in order to create 16 color, 32x32 pointers.
MORE INFORMATIONYou can have colored pointers only in Windows NT and Windows 95. When creating a new pointer image using the Visual C++ Resource Editor, you first need to designate the target display device such as Monochrome, CGA, or EGA/VGA. When the pointer resource is opened, the image most closely matching the current display device is opened by default. In Visual C++, you can only select the Monochrome device when there is no Cursor Devices key entry in the system registry. This is the default case. To create a colored pointer, you need to specify a color display device such as EGA/VGA as the target device in the Device list box of the Cursor Editor. If only the monochrome device is listed in the list box, you need to add other display devices to the list. You can do this by adding additional entries in the system Registry. Perform the following steps to add the EGA/VGA display device in the system Registry as an example.
Windows NT
Windows 95
By default, the Graphic Editor supports the creation of images for the following devices:
Device Colors Width Height EGA/VGA 16 32 32 Monochrome 2 32 32 CGA 2 32 16 REFERENCESMore information on cursor devices can be found in Books Online. Drill down to the "Describing Cursor Devices" topic by following this route:
User's Guide Visual C++ User's Guide Part 3 - Appendices Appendix O - Initializing and configuring Visual C++ Describing Cursor DevicesMore information on creating new pointers can be found in Books Online. Drill down to the "Creating a New Icon or Cursor" topic by following this route:
User's Guide Visual C++ User's Guide Part 1 - Using Visual C++ Chapter 9 - Using the Graphic Editor Creating a New Icon or Cursor |
Additional reference words: kbinf 2.00 2.10 2.20 4.00 4.10 app studio
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |