Windows Media Player SDK banner art
PreviousNext

VIEW.timerInterval

The timerInterval attribute specifies or retrieves the interval, in milliseconds, at which the timer fires events to the ontimer event handler.

Syntax

elementID.timerInterval

Possible Values

This attribute is a read/write Number with a default value of 1000.

Value Description
0 The timer event does not fire.
50 and above The interval in milliseconds.

Any value below 50 (including negative numbers, but not including zero) generates an error and the previous value is maintained.

Remarks

This will not fire automatically if no ontimer event handler is implemented. Thus there is no performance degradation even though the default value is non-zero.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.