IHTMLBodyElement::scroll Property

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

Syntax


HRESULT IHTMLBodyElement::get_scroll(BSTR *p);HRESULT IHTMLBodyElement::put_scroll(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
v
BSTR that specifies one of the values listed in Possible Values.

Possible Values

yes Default. Scroll bars are turned on.
no Scroll bars are turned off.
auto Scroll bars are shown when the page content exceeds the client area.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

CSS Enhancements in Internet Explorer 6

Community Additions

ADD
Show:
© 2014 Microsoft