11-14-2011, 09:27 AM
Hi Gintaras,
I am trying to extract elements of the dlg
I think there has to be some subtraction of the most recent "stoptime" in the WM_TIMER step but I'm having trouble getting it to work. I think I don't know how to convert the time format (msec?) from the last Stopped time and put it into a time format that timeGetTime and t_startTime are in.
Am I getting close?
Stuart
I am trying to extract elements of the dlg
Quote:dialog_stop_watchfor a dialog I am working on. I need to pause and unpause various timers. But even a pause/unpause of the single timer seems in this dialog seems to reset back to zero. For example, when you hit stop in this timer dialog, then hit Start again, it starts it back from zero rather than from where it left off.
I think there has to be some subtraction of the most recent "stoptime" in the WM_TIMER step but I'm having trouble getting it to work. I think I don't know how to convert the time format (msec?) from the last Stopped time and put it into a time format that timeGetTime and t_startTime are in.
Am I getting close?
Stuart
