Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

256-color Cursors

Posted on 1997-11-08
2
Medium Priority
?
271 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 300 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

664 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