Contents Index Topic Contents | ||
Previous Topic: IHTMLMarqueeElement::put_behavior Next Topic: IHTMLMarqueeElement::put_scrollAmount |
IHTMLMarqueeElement::get_behavior
HRESULT get_behavior( BSTR *p );Retrieves how the text scrolls in the marquee.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives one of these strings:
alternate The marquee alternates left and right. scroll The marquee is a scrolling marquee in the direction specified by the direction attribute. The text scrolls off the end and starts over. slide The marquee is a scrolling marquee in the direction specified by the direction attribute. The text scrolls to the end and stops. See also put_behavior
IHTMLMarqueeElement::put_behavior
HRESULT put_behavior( BSTR v );Sets how the text scrolls in the MARQUEE.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the scrolling behavior. Can be one of these values:
alternate The marquee alternates left and right. scroll The marquee is a scrolling marquee in the direction specified by the direction attribute. The text scrolls off the end and starts over. slide The marquee is a scrolling marquee in the direction specified by the direction attribute. The text scrolls to the end and stops. See also get_behavior
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.