The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: zemtex on February 09, 2011, 12:10:43 PM

Title: Animating Mouse Cursors
Post by: zemtex on February 09, 2011, 12:10:43 PM
Hi.

I have created an animated mouse cursor using DrawPrimitive and using a vertexbuffer and a few shapes that form a cursor, it pulses between light gray and dark gray. My problem is that the cursor feels like a slime ball when you move it around, my code isnt slow at all, it has everything to do with the refreshrate.

What if I use hardware cursors ( http://msdn.microsoft.com/en-us/library/bb174430%28v=vs.85%29.aspx ) will this improve the cursor and will it work creating animated dx cursors?
Do anyone have a working code sample for this?