Jump to content
  • Advertisement
Sign in to follow this  
Telamon

[.net] Loading Custom Cursors

This topic is 4824 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey. I'd like to be able to load a custom cursor into my C# program. I basically want to be able to set the mouse pointer to a 32x32 24bpp color bitmap. Failing that, I have a tool to generate .ico or .cur files. I've attempted this in the past but have only been able to get it to work for black and white cursors... I assume I'm looking for some kernel call to P/Invoke?

Share this post


Link to post
Share on other sites
Advertisement
http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraskdr/html/askgui11182003.asp

Answered my own question. For the record, .Net DOES NOT support colored cursors. You need interop voodoo. Geez.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!