Timer

I Posted a article about 6 months ago and that didn't seem to help me much. This time I am posting my code. I am looking for a timer to be counting down while you are playing the game. If someone could help that would be great.

Thanks,
MM
Last edited on
Thats where i need the help i cant figure that out. And i have tried that page before


MM
You create it when you think you want your timer to start, probably when the game starts in your case. You get WM_TIMER messages (or a callback) at the intervals you specify. You can do your countdown in the handler.

WM_TIMER messages are low priority and can be pushed back in the queue.
I Just kept Searching for the answer and i figured it out. but thanks for your help.

MM
Last edited on
I would use the system internal performance counter... its more accurate...
Topic archived. No new replies allowed.