Sign in to follow this  
Telamon

[.net] Loading Custom Cursors

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this