Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 26.0. Released: 9/27/2017
  1. A new Light Box dialog class (CBCGPLightBoxDialog) was added (see screenshot). We're assuming that most of you already used Light Boxes in the Web/Mobile applications - they are very popular today. But we strongly believe that this kind of UI can be successfully used in the desktop applications too, so we decided to implement them in our libraries. Please take a look at LightBoxDemo new sample application to see this feature in action. Hope, you'll like this modern UI style and you can easily add these dialogs to your applications and make your nice-looking programs even better!
  2. Ribbon Bar
    1. Optimized Ribbon backstage view redrawing.
    2. New virtual method 'CBCGPRibbonBar::GetSystemIconSize' allows to display a custom-size system icon on the left-top corner of the Ribbon Bar.
    3. CBCGPRibbonCategory::IsHiddenInAppMode method is virtual now: you may override it to show/hide the Ribbon category (tab) under certain conditions.

  3. Toolbars and Menus
    1. CBCGPDropDownToolbarButton: method SetDefaultCommand is virtual now.
    2. CBCGPExplorerToolBar: added optional "Home" button (see screenshot). CBCGPExplorerToolBar::EnableNavigationButtons has a new optional parameter 'UINT nHomeID'. ExplorerBarDemo sample application demonstrates this new feature.

  4. Chart Control
    1. Chart legend: added ability to specify a legend cell text alignment: new SetTextAlignment and GetTextAlignment methods were added to CBCGPChartLegendCell class.
    2. Added ability to draw unsorted 'Pyramid' and 'Funnel' charts as sorted by default. Please call 'EnableDataPointsSorting(FALSE)' method to draw chart data points in the order they were added.
    3. Added order type for the legend entries. Call new method 'CBCGPChartVisualObject::SetLegendOrder' to set the order. The possible values are:
      • LO_SERIES - default value. Draw entries in the order they were added.
      • LO_REVERS - always in reversed order.
      • LO_CHARTTYPE - depends on the chart type.
  5. Visual Manager and Themes
    1. Office 2016-like Visual Theme: improved system buttons appearance (see screenshot).
    2. New virtual method CBCGPVisualManager::OnDrawLightBoxDialogCloseButton allows to customize LightBox dialog "Close" button appearance.

  6. Grid and Report Controls
    1. New virtual method CBCGPGridItem::OnAddComboBoxItem allows to customize cell combo box items adding.
    2. A new virtual method CBCGPGridCtrl::CanShowColumnInColumnChooser allows to hide some columns in a Column Chooser pane.
    3. Added ability to disable header highlighting when all items in row are selected. New methods SetDisableWholeSelHeaderHighlighting and IsDisableWholeSelHeaderHighlighting were added to CBCGPGridCtrl class.
    4. New virtual method CBCGPGridCtrl::OnAfterTrackHeader is called after header item was resized by the user.
    5. New method CBCGPGridCtrl::IsWholeRowSelected checks whether all items in a row are selected.

  7. Property Grid Control
    1. New virtual method CBCGPProp::OnAddComboBoxItem allows to customize adding combo box items.
    2. CBCGPBitwiseProp constructor has a new, optional parameter 'parAllowedFlags' - array of values that can be displayed and selected.
    3. Added ability to enable/disable grid lines: EnableGridLines, HasHorizontalGridLines and HasVerticalGridLines methods were added to CBCGPPropList class.
    4. Implemented grid row vertical padding. Increasing a padding value makes the property grid control more touch-friendly. Call new method 'CBCGPPropList::SetRowPadding' to specify the row padding and 'CBCGPPropList::GetRowPadding' to obtain a padding value.
    5. Added alternate rows support (see screenshot): call new method 'CBCGPPropList::SetAlternateRowColor" to enable/disable drawing odd/even grid rows using different colors. 'CBCGPPropList::IsAlternateRowColor' tells weather an alternate rows support is enabled or not.

  8. Controls
    1. CBCGPAnimCtrl::SetBitmap has a new, optional parameter 'bDPIAutoScale'. Set it to TRUE if you wish to scale animation frames list according to current DPI.
    2. Calendar bar allows keeping selection when user clicks some day from the previous or next month. If for some reason you need to keep a former behavior, set new global flag CBCGPCalendar::m_bSelectNextPrevMonthDate to FALSE.
    3. CBCGPComboBox: implemented vertical and horizontal item paddings. SetVerticalPadding, GetVerticalPadding, SetHorizontalPadding and GetHorizontalPadding methods were added.
    4. CBCGPHeaderCtrl: added support for HDS_CHECKBOXES and HDS_NOSIZING Windows styles.
    5. CBCGPHeaderCtrl: implemented multi-rows support. SetRows, GetRows and HasWordBreak methods were added to this class.
    6. CBCGPHeaderCtrl: implemented column's text color support. SetColumnTextColor and GetColumnTextColor methods were added.
    7. CBCGPInfoBoxRenderer: m_bFixedFrameWidth and m_bFixedFrameHeight flags were added. If these flags are TRUE, the info box frame will occupy the whole control area.

  9. Miscellaneous
    1. Implemented ability to use a parent window's font in all dialog controls. To activate it, you've to set a new global attribute 'globalData.m_bUseDlgFontInControls' to TRUE.
    2. Implemented tab state animation ("busyness indicator" - see screenshot). The following methods were added to CBCGPTabWnd class:
      • SetTabStateAnimationImages: specifies animation frames image list.
      • StartTabStateAnimation: starts animation. The animation frames will be drawn instead of tab icon.
      • StopTabStateAnimation: stops animation.
      • IsTabStateAnimation: tells whether tab state animation is running now.
      • ResetTabStateAnimationStep: makes first animation frame as current.
      • OnDrawTabStateFrame: this new virtual method allows drawing your own tab animation.
      Please take a look at BCGPInternetExplorerDemo and TabControl samples to see this feature in action.
    3. Added support for System DPI Aware (Windows 10 Creators update) in 'globalData.SetDPIAware' method.

  10. Examples and Samples
    1. New sample application LightBoxDemo demonstrates LightBox Dialog (see screenshot).
    2. BCGPControls: demonstrates Property Grid alternate rows and Animation control DPI auto-scaling.
    3. BCGPInternetExplorerDemo: shows how to add a state animation to MDI tabs.
    4. ComboBoxDemo: demonstrates how to specify combo box item vertical and horizontal paddings.
    5. ExplorerBarDemo: added explorer bar "Home" button demonstration.
    6. TabControl: demonstrates tab state animation.

  11. Fixes:
    1. CBCGPAnimationManager: fixed some issues in "legacy" (timer-based) animation. This fix improves animation process under Windows XP or earlier versions where Windows native animation is not available.
    2. CBCGPButton::OnPaint passes ODS_DISABLED flag to CBCGPButton::DoDrawItem if control is disabled.
    3. CBCGPColorDialog: fixed some problems with an idle processing in color picker mode.
    4. CBCGPGroup: invisible groups are not rendered anymore by the parent dialog now.
    5. CBCGPDockManager: control bars context menu is not displayed in the print-preview mode now.
    6. CBCGPMDIChildWnd: fixed bug with tracking system buttons on inactive MDI child frame.
    7. CBCGPListBox: corrected pin location when control has a horizontal scroll bar.
    8. CBCGPPropList: fixed bug with check box disappearing when property menu button is not enabled.
    9. CBCGPStatic: fixed some drawing problems when control has SS_ENDELLIPSIS or SS_LEFTNOWORDWRAP Windows styles.
    10. Charts: fixed problem with default tooltip in the 'Pyramid' and 'Funnel' charts.
    11. CBCGPInplaceToolTipCtrl: fixed bug with multiline tooltip appearance.
    12. CBCGPGridCtrl: fixed bug with sorting unsigned integers.
    13. CBCGPEditCtrl: fixed bug with highlighting markers on typing.
    14. CBCGPTreeCtrlEx::GetItem is working correctly now when TVIF_HANDLE is not specified in pItem->mask.