1.8.7 Scrolling Functions

Scrolling functions control the scrolling of a window's contents and control the window's scroll bars. Following are the scrolling functions:

Function Description

EnableScrollBar Enables or disables one or both arrows of a scroll bar.
GetScrollPos Retrieves the current position of the scroll box.
GetScrollRange Copies the minimum and maximum scroll-bar positions for given the scroll bars for a specified scroll operation.
ScrollDC Scrolls a rectangle of bits horizontally and vertically.
ScrollWindow Moves the contents of the client area.
ScrollWindowEx Moves the contents of the client area (as does the ScrollWindow function) but with extended capabilities.
SetScrollPos Sets the scroll box.
SetScrollRange Sets the minimum and maximum scroll-bar positions.
ShowScrollBar Displays or hides a scroll bar and its controls.

For detailed information about the scrolling functions, see the Microsoft Windows Programmer's Reference, Volume 2.