Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 25.3. Released: 5/22/2017
  1. Visual Studio 2017 support:
    • The product Integration Wizard fully supports Visual Studio 2017: since you can install different VS editions on the same machine, the wizard allows to choose which VS edition should be integrated with our product.
    • The source files are fully compliant with Visual 2017 C++ compiler.
    • All our examples and samples were thoroughly tested with VS 2017.
    • Evaluation version contains DLLs and libraries required for VS 2017.
  2. Enhanced Windows 10 support:
    • VS 2012-2017 and Office 2013-2016 Visual Managers may use Windows accent color now (see screenshot). CBCGPVisualManagerVS2012::AccentColor enumerator has a new member VS2012_Default. The application appearance is automatically updated when user changes the accent color in Windows "Settings" dialog. Please take a look at BCGPMSOfficeDemo and BCGPVisualStudioGUIDemo examples to see this feature in action.
    • The product is fully tested under Windows 10 Creator Update.
    • Improved non-client area appearance when title bar is using Windows accent color (see screenshot)
  3. Ribbon Bar
    1. A frame windows classes (CBCGPFrameWnd and CBCGPMDIFrameWnd) have a new method GetRibbonBackstageView. Call it to obtain a pointer to the currently active Ribbon backstage view.
    2. The system menu style (default or themed) can be specified by calling new method 'SetDefaultSystemMenu'.
    3. Ribbon category scrolling can be enabled or disabled by calling new CBCGPRibbonCategory method 'EnableScroll'.
    4. Ribbon edit box can be created with “read-only” style: SetReadOnly and IsReadOnly methods were added to CBCGPRibbonEdit class.
    5. Added ability not to capture mouse events while Ribbon mini-toolbar (“floaty”) is displayed: SetMouseCapture and IsMouseCapture methods were added to CBCGPRibbonFloaty class.
    6. A new virtual method 'CanBeRemovedFromQAT' was added to CBCGPBaseRibbonElement class. Override this method and return FALSE if you wish to prevent removing control from the Ribbon QAT.
    7. CBCGPRibbonButtonsGroup: added new methods Remove and RemoveByID.

  4. Dialogs and Forms
    1. Flicker-less group boxes rendering. To optimize group boxes drawing and prevent flickering while dialog/form is being resized, we've moved group box rendering to the parent window. If for some reason you wish to disable this feature, simply call new method of CBCGPDialog, CBCGPDialogBar, CBCGPFormView and CBCGPPropertyPage classes SetGroupBoxesDrawByParent(FALSE).
    2. Automatically resizable check boxes, radio buttons and static labels. Sometimes (especially in high DPI modes), the text label is truncated and developer have to add some extra space to control. Calling new method of CBCGPDialog, CBCGPDialogBar, CBCGPFormView and CBCGPPropertyPage classes AutoResizeControls solves this problem.
    3. The keyboard shortcuts are not underlined on the dialog controls until user doesn't press Alt key.

  5. Docking Panes
    1. Outlook bar: implemented Office 2013/2016-like compact mode (see screenshot). New 'SetMode2013' and 'IsMode2013' methods were added to CBCGPOutlookBar class. Please take a look at BCGPOutlookDemo example to see this new feature in action.
    2. CBCGPToolBox and CBCGPToolBoxEx allow to add empty pages now.

  6. MDI Windows and Tabs
    CBCGPMDITabParams has a new member 'm_bCloseTabOnMiddleClick'. Set it to FALSE if you don’t wish to close MDI child window by clicking its tab by the middle mouse button.

  7. Chart Control
    BCGPChartCategory has 2 new categories: BCGPChartBarSmart and BCGPChartBar3DSmart. Use these categories for "comfortable" placing chart series (MS Excel-like).

  8. Gauge Controls
    Implemented circular and linear gauges' level bars (see screenshot). The bar can be created with one of the following styles:
    • Rectangular
    • Rectangular with rounded corners
    • Thermometer (linear gauge only)
    The following new methods were added to CBCGPGaugeImpl class:
    • AddLevelBar
    • ModifyLevelBar
    • GetLevelBarsCount
    • GetLevelBar
    • RemoveLevelBar
    • RemoveAllLevelBars
    • SetLevelBarValue
    Please take a look at BCGPGaugesDemo example to see this new feature in action.

  9. Visual container and Visual Designer
    1. A data animation type can be changed by calling new CBCGPBaseVisualObject method “SetDataAnimationType”. “GetDataAnimationType” returns an animation type.
    2. Visual container/control can be printed using some options specified by CBCGPVisualPrintOptions:
      • m_bPrintScreenshot: print scaled screenshot (faster)
      • m_bUseGDI: use GDI graphics manager
      New methods SetPrintOptions and GetPrintOptions were added to CBCGPBaseVisualCtrl class.

  10. Grid and Report Controls
    1. Improved header icons appearance in various visual themes (see screenshot).
    2. Color bar foreground color is correctly calculated now according to bar background.
    3. CBCGPGridSparklineItem::SparklineType has a new type: SparklineTypeBarSmart. Use this type for comfortable placing chart series (MS Excel-like).
    4. Implemented cell custom tooltips. EnableCustomToolTips and IsCustomToolTipEnabled methods were added. You've to override new virtual method GetItemCustomTooltip to display the custom tooltips.

  11. Property Grid Control
    1. Item buttons have a visual style now (see screenshot). If you wish to display them with a default Windows theme (as it was in the previous product versions), simply call new property grid method SetButtonsDefaultTheme.
    2. Implemented Boolean property style. You can choose between “label” (true or false) or “check box” styles (see screenshot). Call new property grid method SetBooleanPropertiesStyle to specify this style or GetBooleanPropertiesStyle to obtain it. BCGPControlsDemo example demonstrates this new feature in action.

  12. Desktop Alert Window
    CBCGPPopupWindow has a new virtual method 'OnClickCloseButton'. Override this method in a derived class to be notified about clicks on close buttons located at popup window.

  13. Controls
    1. CBCGPColorComboBox: implemented ability to specify a default color – SetDefaultColor and GetDefaultColor methods were added.
    2. CBCGPColorComboBox: added GetSelectedColor method.
    3. CBCGPComboBox: implemented item groups support (see screenshot). New methods SetItemGroupStart and IsItemGroupStart were added. See ComboBoxDemo sample application.
    4. CBCGPDurationCtrl: added new attribute 'CyclicScroll': when this attribute is TRUE, scrolling of the current control part doesn't affect the next control part. SetCyclicScroll/GetCyclicScroll methods were added.
    5. CBCGPListBox: a color bar width can be specified by calling new method 'SetColorBarWidth'. GetColorBarWidth returns a current color bar width.
    6. CBCGPListBox: implemented items indentation. SetItemIndent and GetItemIndent methods were added to this class.
    7. CBCGPListBox: icons associated with disabled list box icons are drawing grayed now.
    8. CBCGPCheckListBox: added radio buttons support (see screenshot). SetItemRadioStyle and IsItemRadioStyle methods were added to this class. Please take a look at ListBoxDemo sample application to see this feature in action.
    9. CBCGPSplitterWnd: a border size can be specified by calling new class method 'SetBorderSize'.
    10. New CBCGPInfoBoxCtrl control implements advanced text box with the following features (see screenshot):
      • Custom background, text and frame colors
      • Caption support
      • Custom paddings
      • Built-in or custom icons
      • Auto-resize
      • Shadow around the frame
      • Color bar
      • Link
      • Copy content to clipboard
      You can use this control instead of multi-line static text. New sample InfoBoxDemo demonstrates this control in action. In addition, window-less class CBCGPInfoBoxRenderer can be used to draw a text box – we’re using it now in many samples.

  14. MSAA and CodedUI Tests
    1. CBCGPAccessibilityData has a new member 'DWORD_PTR m_dwUserData'
    2. Improved accessibility support in CBCGPListBox and CBCGPCheckListBox classes.

  15. Edit control
    1. CBCGPEditCtrl: added a new method ScrollToCaret. Call this method to scroll to the currently focused editor location.
    2. Added a new CBCGPEditCtrl::m_bIntelliSenseCloseOnShift data member. Setting FALSE allows to use '_' symbols in IntelliSense window.

  16. Miscellaneous
    1. Gestures: improved touch screen gesture scrolling in CBCGPEditCtrl, CBCGPGridCtrl, CBCGPScrollBar and CBCGPVisualScrollBar classes.
    2. Added new member to BCGPGLOBAL_DATA: bIsWindows10. This variable is TRUE if application is running under Windows 10 or future versions.
    3. CBCGPSplitterWnd: added ability to specify a border size. SetBorderSize and GetBorderSize methods were added.
    4. CBCGPWinUITilesCtrl: developer can specify tiles runtime class by calling new method SetWinUITilesRTI.
    5. CBCGPDrawManager: added new methods GetColorBrightness and GetContrastColor.
    6. CBCGPEditListBox: added RemoveAllItems new method.
    7. CBCGPPrintPreviewCtrl: implemented CTRL + mouse wheel zooming.
    8. CBCGPShellBreadcrumb: added new virtual method OnAfterEnumFolderItems. Override this method to add custom items to the control.
    9. CBCGPToolBarImages: improved shadow appearance (used by Office XP theme) in 32 bpp mode.

  17. Examples and Samples
    1. BCGPChartExample: added "2D Side by Side Stacked Bar" and "3D Side by Side Stacked Bar" views.
    2. BCGPGaugesDemo: demonstrates how to use gauge level bars.
    3. BCGPGridExample: “Cell Types” view demonstrates how to use custom tooltips.
    4. BCGPMSOfficeDemo: demonstrates usage of Windows 10 Accent color (Office 2013/2016 themes).
    5. BCGPOutlookDemo: demonstrates Outlook 2013/2016 mode.
    6. InfoBoxDemo: this new sample demonstrates how to use CBCGPInfoBoxCtrl.
    7. ListBoxDemo: illustrates check list box radio items.
    8. MDITabsDemo: illustrates enabling/disabling closing tab on middle-button click.
    9. SplashScreenDemo: this new sample demonstrates how to create an application splash screen.

  18. Fixes:
    1. Include of multimon.h file is no longer used when product is compiled in the latest Visual Studio versions.
    2. Chart control: fixed bug with drawing animated objects when image cashing is on.
    3. Controls: standard Windows borders are rendered now when control is not themed.
    4. Dialogs: fixed bug with restoring window placement in the multi-monitor environment.
    5. CBCGPEdit: the background is correct now when control has ES_READONLY style.
    6. Ribbon mini-toolbar (floaty) can be displayed now when Ctrl or Shift keys are pressed.
    7. CBCGPMessageBox: fixed controls layout problem when single-line message width is less than header width.
    8. Ribbon backstage view: fixed issue with delayed page caption drawing when page transition effect is enabled.
    9. CBCGPRibbonQuickStepsButton: fixed size of the gap between the gallery rows.
    10. CBCGPTasksPane: fixed bug with a scroll total size when vertical scroll bar is enabled and tasks/labels are word-wrapped.
    11. Chart control: fixed some problems with drawing logscale axis.
    12. CBCGPEditCtrl: GetCurLine is working correctly now in case of the last document line.