Rebars
As you learned in Chapter 8, Visual C++ contains features originally found in Internet Explorer: the common controls. One of these is a new kind of toolbar called a rebar. You're probably familiar with the rebar if you've used Internet Explorer. The rebar differs from the default MFC toolbar in that it provides grippers and allows the user to "slide" its horizontal and vertical positions. In contrast, you change the MFC toolbar's position using drag-and-drop docking. Rebars also allow the developer to provide many more internal control types— such as drop-down menus—than are available in CToolBar.
Anatomy of a Rebar
Figure 13-5 shows the various terms used on a rebar. Each internal toolbar in a rebar is called a band. The raised edge where the user slides the band is called a gripper. Each band can also have a label.

Figure 13-5: Rebar terminology.
MFC provides two classes that facilitate working with rebars:
CReBar A high-level abstraction class that provides members for adding CToolBar and CDialogBar classes to rebars as bands. CReBar also handles communication (such as message notifications) between the underlying control and the MFC framework.
CReBarCtrl A low-level wrapper class that wraps the ReBar control. This class provides numerous members for creating and manipulating rebars but does not provide the niceties that are found in CReBar.
Most MFC applications use CReBar and call the member function GetReBarCtrl, which returns a CReBarCtrl pointer to gain access to the lower-level control if needed.