News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Animating Mouse Cursors

Started by zemtex, February 09, 2011, 12:10:43 PM

Previous topic - Next topic

zemtex

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?
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.