1.8 Scrolling Functions

Scrolling functions control the scrolling of a window's contents and control the window's scroll bars. Scrolling is the movement of data in and out of the client area at the request of the user. It is a way for the user to see a document or graphic in parts if Windows cannot fit the entire document or graphic inside the client area. A scroll bar allows the user to control scrolling. The following list briefly describes each scrolling function:

Function Description  
GetScrollPos Retrieves the current position of the scroll-bar thumb.  
GetScrollRange Copies the minimum and maximum scroll-bar positions for given scroll-bar positions for a specified scroll.  
ScrollDC Scrolls a rectangle of bits horizontally and vertically.  
ScrollWindow Moves the contents of the client area.  
SetScrollPos Sets the scroll-bar thumb.  
SetScrollRange Sets the minimum and maximum scroll-bar positions.  
ShowScrollBar Displays or hides a scroll bar and its controls.