Contents Index Topic Contents | ||
Previous Topic: IHTMLWindow2::scrollBy Next Topic: IHTMLWindow2::setInterval |
IHTMLWindow2::scrollTo
HRESULT scrollTo( long x, long y );Given the area specified as (X,Y) in document coordinates, scrolls the document to that position.
- Returns S_OK if successful, or an error value otherwise.
- x
- Long integer that contains the value for the x direction scroll position coordinate.
- y
- Long integer that contains the value for the y direction scroll position coordinate.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.