Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Time 1

Status
Not open for further replies.

Chemakill

Programmer
Aug 17, 2000
37
0
0
CA
Hey, can someone provide me with syntax/a code example of a timer function that'll enable me to start timing, then finish timing after an event to determine it's duration? Thx.
 
you need set a timer:
SetTimer(hWnd,TimerID,EachMilliseconds,0);
handle WM_TIMER where wParam = TimerID in WndProc or
SetTimer(hWnd,TimerID,EachMilliseconds,lpfnTimerProc);
handle timer in timer proc. At the end
KillTimer(hEnd,TimerID);
John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top