[.net] Loading Custom Cursors

Started by
0 comments, last by Telamon 18 years, 7 months ago
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?

Shedletsky's Bits: A Blog | ROBLOX | Twitter
Time held me green and dying
Though I sang in my chains like the sea...

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.

Shedletsky's Bits: A Blog | ROBLOX | Twitter
Time held me green and dying
Though I sang in my chains like the sea...

This topic is closed to new replies.

Advertisement