Frame Caption Bar
BCGControlBar Pro (MFC)
BCGSuite (MFC)
BCGControlBar for .NET
An advanced Frame Caption Bar replaces a standard frame caption and has following functionalities:
- Ability to add custom buttons/controls. Since Frame Caption Bar is derived from the Ribbon Bar, you've to add the ribbon controls only.
- MDI tabs.
- Ability to specify an owner-draw system icon with a custom size and custom system menu.
- Built-in command search
Frame caption bar with MDI tabs, search box and custom icon:
Sample code:
// Enable frame caption bar:
EnableFrameCaptionBar(TRUE);
CBCGPRibbonFrameCaptionBar* pFrameCaptionBar = GetFrameCaptionBar();
ASSERT_VALID(pFrameCaptionBar);
// Enable MDI tabs located on the caption bar:
pFrameCaptionBar->EnableMDITabs(TRUE);
// Add button to the left side:
pFrameCaptionBar->AddButton(
new CBCGPRibbonCaptionCustomButton
(ID_VIEW_TIME, hIcon, BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_NORMAL_MODE, TRUE), TRUE /* left side */);
// Add button to the right side:
pFrameCaptionBar->AddButton(
new CBCGPRibbonCaptionCustomButton
(ID_WINDOW_MANAGER, hIcon2, BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_NORMAL_MODE, TRUE));