IHTMLMarqueeElement::get_trueSpeedIHTMLMarqueeElement::get_trueSpeed*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLMarqueeElement::put_trueSpeed
*Next Topic: IHTMLMarqueeElement::start

IHTMLMarqueeElement::get_trueSpeed


HRESULT get_trueSpeed(
    VARIANT_BOOL *p 
);

Retrieves whether the position of the marquee is calculated using the scrollDelay and scrollAmount properties, and the actual time elapsed from the last clock tick.

v
Address of a boolean value that has one of the following meanings:
TRUE The marquee advances the pixel value of scrollAmount per the number of milliseconds (ms) set for scrollDelay. For example, the marquee advances 10 pixels for every 6ms if scrollDelay is 6 and scrollAmount is 10.
FALSE The marquee computes movement based on 60ms ticks of the clock. This means every scrollDelay value under 60 is essentially ignored, and the marquee advances the amount of scrollAmount each 60ms. For example, if scrollDelay is 6 and scrollAmount is 10, the marquee advances 10 pixels every 60ms.

By default, this property is FALSE.

See also put_trueSpeed

Up Top of Page


IHTMLMarqueeElement::put_trueSpeed


HRESULT put_trueSpeed(
    VARIANT_BOOL v 
);

Sets whether the position of the marquee is calculated using the scrollDelay and scrollAmount properties, and the actual time elapsed from the last clock tick.

v
Boolean value that has one of the following meanings:
TRUE The marquee advances the pixel value of scrollAmount per the number of milliseconds (ms) set for scrollDelay. For example, the marquee advances 10 pixels for every 6ms if scrollDelay is 6 and scrollAmount is 10.
FALSE The marquee computes movement based on 60ms ticks of the clock. This means every scrollDelay value under 60 is essentially ignored, and the marquee advances the amount of scrollAmount each 60ms. For example, if scrollDelay is 6 and scrollAmount is 10, the marquee advances 10 pixels every 60ms.

By default, this property is FALSE.

See also get_trueSpeed


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