Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the scroll bar functions, with a description of the purpose of each.

Programming element Description

GetScrollInfo

This function retrieves the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

ScrollDC

This function scrolls a rectangle of bits horizontally and vertically.

ScrollWindowEx

This function scrolls the content of the specified window's client area.

SetScrollInfo

This function sets the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

SetScrollPos

This function sets the position of the scroll box (thumb) in the specified scroll bar and, if requested, redraws the scroll bar to reflect the new position of the scroll box.

SetScrollRange

This function sets the minimum and maximum position values for the specified scroll bar.

GetScrollInfo

This function retrieves the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

See Also