Click to return to the Reusing Browser Technology home page    
IHTMLBodyElement::get_rig...     IHTMLBodyElement::get_tex...     IHTMLBodyElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLBodyElement::get_scroll Method


Retrieves the value that indicates whether the scroll bars are turned on or off.

Syntax

HRESULT get_scroll(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) variable that receives yes if the scroll bars are on, or no if they are off. For details, see the scroll property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLBodyElement::put_scroll Method


Sets the value that indicates whether the scroll bars are turned on or off.

Syntax

HRESULT put_scroll(
    BSTR v
);

Parameters

v
String (BSTR) value that specifes whether to turn on or off the scroll bars. Specify yes to turn on the scroll bars, or no to turn them off. For details, see the scroll property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.