Make windows redraw the cursor?

Started by
3 comments, last by stranger4u 21 years, 7 months ago
Is there a way to do it? Because the cursor flickers when it''s over my game window so I wanna tell windows to redraw it when I displayed my scene.
Advertisement
Before you draw, ShowCursor (FALSE);. After you draw, ShowCursor (TRUE);

Kippesoep
Ok that makes it worse. Cursor flickers even more. Is there no way to stop the flickering? I don''t wanna slow down the fps so there''s gotta be another way of stopping the flickering. And no I don''t wanna draw my own cursor because it''s a windowed game so I''d just like to use the windows cursor.
If you are using DX then I don''t think you can fix it. At least nothing I''ve found shows that you can (I posted a very similar question some time ago).

Either:
Showcursor(FALSE);

or:
Draw your own cursor at the location of the windows cursor.

However, should there be a way to do this I''d love to hear it.
Minister of Propaganda : leighstringer.com : Nobody likes the man who brings bad news - Sophocles (496 BC - 406 BC), Antigone
I have always showCursour(false); And just draw my own cursor to the screen.

This topic is closed to new replies.

Advertisement