--- description: "Learn more about: Using CReBarCtrl" title: "Using CReBarCtrl" ms.date: "11/19/2018" helpviewer_keywords: ["child windows [MFC], rebar controls", "combo boxes [MFC], in rebar controls", "rebar controls"] ms.assetid: 2c0aeec2-ffc3-44b8-97b5-0f56e116a338 --- # Using CReBarCtrl A rebar control acts as a container for child windows. These child windows, often other controls, are assigned to a rebar control band. A rebar control can contain one or more bands, with each band having any combination of a gripper bar, a bitmap, a text label, and a child window. However, bands cannot contain more than one child window. The following illustration shows a rebar control that has two bands. One contains a gripper bar, a text label ("Address"), and a combo box child window. The other band contains a gripper bar, a text label, and a flat toolbar (implemented with a child window). ![Rebar control that has two bands.](../mfc/media/vc4ruz1.gif "Rebar control that has two bands") ## What do you want to know more about - [CReBar vs. CReBarCtrl](../mfc/crebar-vs-crebarctrl.md) - [Creating a Rebar Control](../mfc/creating-a-rebar-control.md) - [Rebar Controls and Bands](../mfc/rebar-controls-and-bands.md) - [Using an Image List with a Rebar Control](../mfc/using-an-image-list-with-a-rebar-control.md) - [Using a Dialog Bar with a Rebar Control](../mfc/using-a-dialog-bar-with-a-rebar-control.md) - [Processing Notification Messages in a Rebar Control](../mfc/processing-notification-messages-in-a-rebar-control.md) ## See also [Controls](../mfc/controls-mfc.md)