• Advertisement
Sign in to follow this  

[.net] Loading Custom Cursors

This topic is 4609 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