Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop watch?
#11
Hi Gintaras,
I am trying to extract elements of the dlg
Quote:dialog_stop_watch
for 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
Code:
Copy      Help
s=TimeSpanToStr(timeGetTime-t_startTime*10000 2)
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)