Running Multiple Timers
Posted on 2003-03-02
I've created a stopwatch application based on API call 'timeGetTime' which can show 1/100 sec count.
The problem is that if I reproduce this timer (so that we have stopwatches A and B) and I launch both of them from a Form and run them simultaeously, the digital displays of timer A and B do not 'tick over' like they should. Only ONE timer at any given time shows the time counting, while the display of the other simply 'freezes'. Only when one stopwatch is stopped, does the other continue to 'tick over'.
Note that the stopwatch whose display isn't refreshing while the other is running, does continue to count the time correctly in the 'background' however, because when the display of the former resumes ticking over, it shows the correct elapsed time ie it resumes from the right place.
Any ideas as to how I can get the displays of both timers to show the time counting?