Click to return to the Reusing Browser Technology home page    
IHTMLElement2::detachEven...     IHTMLElement2::focus Meth...     IHTMLElement2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLElement2::doScroll Method


Simulates a scroll click on a component.

Syntax

HRESULT doScroll(
    VARIANT sParameter
);

Parameters

sParameter
String VARIANT structure that determines how the object will be scrolled. See the doScroll method for details.

Return Value

Returns S_OK if the function was bound successfully, or an error code otherwise.

Remarks

Cascading style sheets (CSS) enables scrolling on all objects through the overflow property.

See Also

componentFromPoint, get_onScroll



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.