IHTMLWindow2::scrollByIHTMLWindow2::scrollBy*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLWindow2::scroll
*Next Topic: IHTMLWindow2::scrollTo

IHTMLWindow2::scrollBy


HRESULT scrollBy(
    long x,
    long y 
);

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

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.

See also scrollTo


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.