Solved

256-color Cursors

Posted on 1997-11-08
2
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

624 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