BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Frame Caption Bar

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.


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