Compartilhar via


Scroll Bar Functions (Compact 2013)

3/28/2014

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.

See Also

Reference

Scroll Bar Reference