KillTimer
This function kills a system timer.
BOOL KillTimer( int nIDEvent )
Specifies the outcome of the function. The value is nonzero if the event was killed. It is 0 if the KillTimer function could not find the specified timer event.
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_EDIT1 1001 void Dialog_KillTimer(Dialog& MyDlg) { MyDlg.KillTimer(1001); }
Dialog.h