Click to return to the Reusing Browser Technology home page    
IHTMLWindow2::scroll Meth...     IHTMLWindow2::scrollTo Me...     IHTMLWindow2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow2::scrollBy Method


Scrolls the document horizontally by the x value provided, and scrolls the document vertically by the y value provided.

Syntax

HRESULT scrollBy(
    long x,
    long y 
);

Parameters

x
Long integer that contains the value for the x direction scroll distance.
y
Long integer that contains the value for the y direction scroll distance.

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

See Also

scrollTo



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.