SetTimerInterval method


Available for Window, MDIWindow and DialogBox objects.

Prototype

SetTimerInterval Proto hWnd:HWND, lTimerInterval:LONG

Syntax

Invoke SetTimerInterval, hWnd, lTimerInterval

Function

Sets the TimerInterval property for an object.

Parameters

hWnd

Handle to the object.

lTimerInterval

A LONG value specifying the new timer interval, in milliseconds, for the object.

Return value

Eax/Rax returns TRUE if successful, or FALSE if not.


REMARKS
: If lInterval is 0, the timer (if any) is killed.