Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Visual C++ and MFC Fundamentals Chapter 18: Progress-Based Controls



  1. Close it and return to MSVC


18.4 Scroll Bars....................................................................................................


18.4.1..Introduction..........................................................................................


A scroll bar is a control that allows the user to navigate a document in two directions
along a control by clicking an arrow. This control can assume one of two directions:
horizontal or vertical. For its functionality, a scroll bar is made of three parts:

?? An arrow on each side of the control: up and down pointing for a vertical scroll
bar, or left and right pointing for a horizontal scroll bar
?? A thumb

?? A scrolling region

To use the scroll bar, the user can click one of the arrows. This action moves the thumb
towards the arrow being clicked. Another way to use a scroll bar is to click and hold the

Arrows

Scrolling
Region

Thumb

Thumb
Free download pdf