Solved

256-color Cursors

Posted on 1997-11-08
2
257 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now