IASHTMLControl::VScroll

This method controls vertical scrolling.

Syntax

HRESULT VScroll ( WPARAM wp );

Parameters

wp
Specifies vertical scrolling styles. The low-order word of wp is one of the following values:
SB_BOTTOM
Scrolls to the bottom or to the right side of the document.
SB_LINEDOWN
Scrolls down or right one line, or approximately 16 pixels.
SB_LINEUP
Scrolls up or left one line, or approximately 16 pixels.
SB_PAGEDOWN
Scrolls down or right one page, or the height of the control.
SB_PAGEUP
Scrolls up or left one page, or the height of the control.
SB_THUMBTRACK
Scrolls to an absolute vertical position in the document. The high-order word of wp specifies the position.
SB_TOP
Scrolls to the top or left side of the document.

Return Values

An appropriate HRESULT value is returned.

See Also

HIWORD, LOWORD