Frame Caption Bar

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

An advanced Frame Caption Bar replaces a standard frame caption and has following functionalities:

  1. Ability to add custom buttons/controls. Since Frame Caption Bar is derived from the Ribbon Bar, you've to add the ribbon controls only.
  2. MDI tabs.
  3. Ability to specify an owner-draw system icon with a custom size and custom system menu.
  4. Built-in command search

Frame caption bar with MDI tabs, search box and custom icon:

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));