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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.