2.2.6.10.11 Dialog::KillTimer

Description

This function kills a system timer.

Syntax

BOOL KillTimer( int nIDEvent )

Parameters

nIDEvent
The value of the timer event passed to SetTimer.

Return

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.

Examples

EX1

#include <..\OriginLab\DialogEx.h>
#define IDC_EDIT1 1001

void Dialog_KillTimer(Dialog& MyDlg)
{
	MyDlg.KillTimer(1001);
}

Remark

See Also

Header to Include

Dialog.h