Creating multi timer using MFC

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

Creating multi timer using MFC

Post by Anonymous »

Hi guys, i need some help in my program. I am currently creating program which require two timers. The first timer is to run every 0.3s and the second timer is to stop the first timer after 5s. How do i go about doing it? I have read the help file but i don't understand it. It will be helpful if someone would post the command that is needed.
Thanks all for the help

Archived topic from Iceteks, old topic ID:2865, old post ID:23419
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Creating multi timer using MFC

Post by Red Squirrel »

Welcome to the forum. :banana:

You'd have to start a thread for each timer, but I havn't done MFC in a while so not sure how. But basically you'd have a loop in each thread with the apropriate sleep value.


Archived topic from Iceteks, old topic ID:2865, old post ID:23420
Honk if you love Jesus, text if you want to meet Him!
Locked