--- title: "Using CReBarCtrl | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-windows" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "CReBarCtrl" dev_langs: - "C++" helpviewer_keywords: - "child windows, rebar controls" - "combo boxes, in rebar controls" - "rebar controls" ms.assetid: 2c0aeec2-ffc3-44b8-97b5-0f56e116a338 caps.latest.revision: 10 author: "mikeblome" ms.author: "mblome" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # 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 "vc4ruz1") ## 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)