Scrolls the object into view, aligning it at either the top or bottom of the window.
Syntax
HRESULT scrollIntoView( VARIANT varargStart );
Parameters
- varargStart
- VARIANT structure that contains a Boolean value that specifies whether to place the object at the top of the window or at the bottom. If TRUE, the method scrolls the object so that its top is visible at the top of the window. If FALSE, the bottom of the object is visible at the bottom of the window. If no value is given, the object scrolls to the top by default.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Depending on the size of the given object and the current window, this method might not be able to put the item at the very top or very bottom, but will always position the object as close to the requested position as possible.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0