IHTMLWindow2::setTimeoutIHTMLWindow2::setTimeout*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::setInterval
*Next Topic: IHTMLWindow2::showHelp

IHTMLWindow2::setTimeout


HRESULT setTimeout( 
    BSTR expression,
    long msec,
    VARIANT *language,
    long *timerID 
);

Evaluates an expression after a specified number of milliseconds has elapsed.

expression
String specifying the code to be executed repeatedly at the specified interval.
msec
Numeric value or numeric string specifying the time-out interval, in milliseconds.
language
String specifying the language that the code is executed in.
timerID
Address of a variable that receives a time-out identifier. This identifier is used only to cancel the evaluation with the clearTimeout method.

See also clearTimeout


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.