ITextHost::TxSetTimer method (textserv.h)

Requests the text host to create a timer with a specified time-out.

Syntax

BOOL TxSetTimer(
  [in] UINT idTimer,
  [in] UINT uTimeout
);

Parameters

[in] idTimer

Type: UINT

Timer identifier.

[in] uTimeout

Type: UINT

Time-out in milliseconds.

Return value

Type: BOOL

Return TRUE if the method succeeds.

Return FALSE if the method fails.

Remarks

idTimer is used in ITextHost::TxKillTimer.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header textserv.h
DLL Msftedit.dll

See also

Conceptual

ITextHost

Reference

TxKillTimer

Windowless Rich Edit Controls