Horizontal and Vertical Scroll Bar Controls
See Also Properties Events MethodsBFKNT8
Scroll bars provide easy navigation through a long list of items or a large amount of information. They also can provide an analog representation of current position. You can use a scroll bar as an input device or indicator of speed or quantityfor example, to control the sound volume of a computer game or to view the time elapsed in a timed process.
When you're using a scroll bar as an indicator of quantity or speed or as an input device, use the Max and Min properties to set the appropriate range of the control.
To specify the amount of change to report in a scroll bar, use the LargeChange The scroll bar's Value property increases or decreases by the amounts set for the LargeChange and SmallChange properties. You can position the scroll box at run time by setting Value between 0 and 32,767, inclusive. property for clicking in the bar, and the SmallChange property for clicking the arrows at the ends of the bar.
DragIcon Left TabStop
DragMode Max Tag
Enabled Min Top
Height MousePointer Value
HelpContextID Name Visible
hWnd Parent Width
Drag Refresh ZOrder
Drawing a Control
Chapter 3, "Creating and Using Controls"