Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window.
Syntax
HRESULT retVal = object.scroll(x, y);
Parameters
x [in]
Type: longlong that specifies the horizontal scroll offset, in pixels.
y [in]
Type: longlong that specifies the vertical scroll offset, in pixels.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
There are no standards that apply here.
Remarks
This method is provided for backward compatibility only. The recommended way to scroll a window is to use the IHTMLWindow2::scrollTo method.