Solved

256-color Cursors

Posted on 1997-11-08
2
264 Views
Last Modified: 2013-12-03
How can you load a 256-color (or 16-color for that matter) cursor in a C/C++/MFC Windows program? You can create a 256 color cursor in Visual C++'s resource editor but LoadCursor doesn't let you specify which device to load and it apparently doesn't automatically load the 256-color cursor when I'm in Hi-Color video mode. I tried playing around with LookupIconIdFromDirectoryEx() but I didn't get too far with this.
0
Comment
Question by:Sherwin7
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 150 total points
ID: 1408267
Try the ::LoadImage() function.
0
 

Author Comment

by:Sherwin7
ID: 1408268
::LoadImage() also loads the B&W cursor for me. My work-around was to make separate cursors -- one color and one B&W -- and to select the appropriate one myself.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Installer 4 76
wordpress limitations 4 134
Should CArray be used for a list of pointers in C++? 19 128
Problem to adjust sheet 1 93
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question