Quote:
Originally Posted by shabbir
Use the SetTimer function
Code: CPP
UINT_PTR SetTimer(          HWND hWnd,
    UINT_PTR nIDEvent,
    UINT uElapse,
    TIMERPROC lpTimerFunc
);
To kill the timer use
Code: CPP
BOOL KillTimer(int nIDEvent);
Where the nIDEvent is the ID returned by the SetTimer Function.
Also overide the OnTimer message to do the handling in your class