Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 30.4. Released: 3/11/2020

  1. Introduced new Application Wizard for Visual Studio 2017 and Visual Studio 2019 (see screenshot). This Wizard dramatically simplifies creation of new, BCGControlBar-based applications. You can create Visual Studio, Office or Explorer-like applications in few seconds. If for some reason you prefer to use a classic (HTML-based) Application Wizard, you can specify this option in the Integration Wizard settings (see screenshot).
  2. Ribbon Bar
    1. CBCGPBaseRibbonElement: new method IsOnActiveFrame tells whether the ribbon control is located on the active (focused) frame.
    2. CBCGPBaseRibbonElement: new method IsOnZoomedFrame tells whether the ribbon control is located on the maximized (zoomed) frame.
    3. CBCGPRibbonSlider: added support for "Zoom In" ("+") / "Zoom Out" ("-") button tooltips (see screenshot). Method CBCGPRibbonSlider::SetZoomButtons has 2 new optional parameters 'lpszZoomInTooltip' and 'lpszZoomOutTooltip'.
    4. Improved keyboard navigation support: implemented navigation by Tab key from the edit box / combo box control which was activated by the mouse click.
    5. CBCGPRibbonPaletteButton (Ribbon gallery): improved high-DPI support.
    6. Ribbon backstage view: added support for commands/views located at bottom of the left-side pane (see screenshot). Methods CBCGPRibbonBackstageViewPanel::AddCommand, CBCGPRibbonBackstageViewPanel::AddView, CBCGPRibbonBackstageViewPanel::AddPrintPreview and CBCGPRibbonBackstageViewPanel::AddRecentView have new, optional parameter 'bAddToBottom' (default value is FALSE).
    7. CBCGPRibbonCaptionCustomButton: new virtual method OnDrawContent provides easy way to customize the Ribbon caption button appearance.
    8. Ribbon Designer: added slider zoom button tooltips support and backstage view bottom items.
  3. Chart Control
    1. Simplified chart text label customization process: new methods OnFormatDataPointLabelText and OnFormatDataPointTableText were added to CBCGPChartVisualObject class.
    2. Chart data table: improved table cells horizontal scrolling (zoom/pan modes).
    3. Added new flags specifying thumbnail drawing options:
    4. Added a new type of polar chart - polar bar chart (see screenshot). The range (width) of a bar is set in degrees using Y1 component. The type of polar chart can be specified using CBCGPChartPolarSeries:SetPolarType(PolarSeriesType type, BOOL bRedraw = TRUE) method where type can be either PST_NORMAL or PST_BAR.
    5. Polar and radar charts: improved diagram layout - the chart diagram space is used more optimal now.
    6. Pyramid and funnel charts: improved hit-testing of the chart elements, such as data points.
  4. Gauge Controls
    1. CBCGPTextGaugeImpl: implemented a "trailing sign" support. Usually, "Trailing sign" is a small-size character located right of text and it's used for some indication such as percentage or temperature. New method CBCGPTextGaugeImpl::SetTrailingSign allows to specify the trailing sign text and appearance.
    2. CBCGPStaticGaugeImpl::StartFlashing has a new optional parameter nCount which specifies a number of the flashings. If this parameter is 0 (default), the gauge flashing will be infinite.
    3. CBCGPImageGaugeImpl: added DPI support. The class constructor and SetImage method have a new, optional parameter bScaleByDPI. Set it to TRUE if you wish to make gauge DPI-aware.
    4. CBCGPColorIndicatorImpl: added DPI support for the default-size color indicators. The class constructor has a new, optional parameter bScaleByDPI.
    5. CBCGPCircularProgressIndicatorImpl: added "pinned percentage sign" support (see screenshot). To enable this feature, you have to specify new member of CBCGPCircularProgressIndicatorOptions structure m_strProgressLabelTrailingSign.
    6. CBCGPCircularProgressIndicatorImpl: new methods FlashProgressLabel and FlashLabel allow to make the text labels flashing.
  5. Grid and Report Controls
    1. Added ability to include groups to the filtering results (see screenshot): CBCGPGridCtrl:EnableFilterBar has a new optional parameter bIncludeGroups.
    2. Improved grid row height API: new methods SetCustomRowHeight and SetCustomLargeRowHeight were added to CBCGPGridCtrl class.
  6. Controls
    1. CBCGPSliderCtrl: added new virtual method OnPosChanged. This method is called after thumb position changing.
    2. CBCGPListCtrl: added LVM_SORTITEMSEX message support. By default, the control is using LVM_SORTITEM sorting message, but if you wish to use LVM_SORTITEMSEX instead, you've to call a new method CBCGPListCtrl::EnableSortEx with parameter bEnable = TRUE.
    3. CBCGPEdit: added support for a custom context menu (see screenshot). You can override a new virtual method OnEditCtrlContextMenu in your CBCGPWinApp-derived class in order to display a custom context menu for specific edit box or for all edit boxes in your application. Please take a look at EditBoxDemo to see this feature in action.
    4. CBCGPGroup: added new virtual method GetCheckBoxSize. Override this method if you wish to create a group checkbox with a custom size.
  7. Graphics Manager
    1. CBCGPEllipse: new method PtInEllipse tells whether a specified point is located inside the ellipse.
    2. CBCGPImage: added DPI support. The class constructor has a new, optional parameter bScaleByDPI. Set it to TRUE if you wish to make an image DPI-aware.
    3. CBCGPGraphicsManager: improved drawing of 3D Funnel slice.
  8. Edit control
    1. CBCGPEditCtrl::SetCaret method has a new, optional parameter bCleanUpSelection. If you set this parameter to TRUE, the current selection will be cleaned-up.
    2. CBCGPEditCtrl::ReplaceAll implementation has been significantly improved: replacing mechanism is much more fast and efficient now.
  9. Gantt Chart
    1. CBCGPGanttView: added a new, virtual method OnChartItemResizing. This method is called by the framework when a Gantt chart item is being resized.
    2. Added new registered message BCGM_GANTT_CHART_ITEM_RESIZING. This message is sent to owner of Gantt control when the chart item is being resized.
    3. CBCGPGanttChart: improved high-DPI support. All Gantt chart elements are correctly scaled now.
    4. New method CBCGPGanttChart::SelectAllItems selects all Gantt chart items.
    5. CBCGPGanttControl::SetProgressColumnIndex has a new, optional parameter bDisplayProgressBar. If this parameter is TRUE, a progress cell will be displayed with background progress bar (see screenshot).
    6. CBCGPGanttControl: a group is rendered with a progress indication now (see screenshot).
  10. Miscellaneous
    1. CBCGPAnimationManager: new method GetFlashAnimationStep returns a current flash animation step.
    2. CBCGPCalculator: '=' button is located now in the bottom-right corner and has a special look (see screenshot).
    3. CBCGPMDIFrameWnd::CloseLightBox and CBCGPFrameWnd::CloseLightBox methods have a new, optional parameter bDisableAnimation. When this parameter is TRUE, the light box will disappear without transition effect.
    4. Added exception handling for broken (incorrect) PNG files loading.
    5. CBCGPTasksPane: implemented footer control (see screenshot). A new member m_wndFooter has been added to CBCGPTasksPane class. Please take a look at TasksPane sample to see this feature in action.
    6. CBCGPFindReplaceDialogThemed: when the themed find/replace dialog is created with parameter bFindDialogOnly = FALSE, "Up" and "Down" controls will be not displayed (as in standard Windows Find/Replace dialog). If for some reason you want to keep on old behavior (display up/down controls in both modes), simply set a new global member CBCGPFindReplaceDialogThemed::m_bHideUpDownInReplaceMode to FALSE.
  11. Examples and Samples
    1. BCGPEdgeDemo: added pinned lightbox pane demonstration (see screenshot).
    2. BCGPGanttDemo: added demonstration of the grid cell with background progress indicator.
    3. BCGPGaugesDemo: added demonstration of pinned percentage sign in circular progress gauge and DPI-scaling in static gauges (image and color indicators).
    4. BCGPMSOfficeDemo: added demonstration of bottom-located backstage view items and slider zoom button tooltips.
    5. BCGPShopDemo: improved example appearance in the high-DPI mode.
    6. EditBoxDemo: added a custom context menu demonstration.
    7. ListCtrlDemo: demonstrates a new, extended sorting.
    8. TreeCtrlDemo: added demonstration of the filter bar with group support.
    9. BCGPChartExample: implemented group thumbnail views (see screenshot) and added 3 new views: "Polar Bar", "Pyramid with Grouped Smaller Slices" and "Funnel with Grouped Smaller Slices" (see screenshot).
    10. TasksPane: added footer control demonstration.
  12. Fixes
    1. CBCGPButton: addressed issue with incorrect rendering when button has a description but doesn't have a text label.
    2. CBCGPCalendar: addressed issue with calling SetMinDate and SetMaxDate before control creation.
    3. CBCGPBreadcrumbImpl: addressed some issues with control and item menus appearance in the right-to-left mode.
    4. CBCGPStatic: addressed issue with drawing control with SS_ETCHEDFRAME style.
    5. CBCGPShellManager: addressed issue with incorrect path processing when path name is starting from the double backslash.
    6. CBCGPFileDialogEx: addressed issue with opening file without typed extension when a folder name contains one or more dots.
    7. CBCGPDropDownToolbarButton: addressed issue with rendering of selected image in the high-DPI mode.
    8. CBCGPLightBoxDialog: addressed issue with activation by the mouse click when a top-level frame is inactive.
    9. CBCGPMDIChildWnd: the panes docked inside the frame have a correct layout now when the child frame is located in MDI tabbed group.
    10. CBCGPGroup: addressed issue with displaying a group name when a text contains the ampersand character.
    11. CBCGPMessageBox: addressed issue with calculating size of the custom button with long text.
    12. CBCGPPropertySheet: when SetIconsList method is called for the 2-nd time, the previously created icons list is destroyed now.
    13. CBCGPSVGImage: addressed some issues with reading and applying linear/radial gradients.
    14. CBCGPRibbonProgressBar: addressed issue with incorrect size of the vertically-oriented control located on the Quick Access Toolbar.
    15. CBCGPRibbonBar: addressed issue with appearance of the scroll button under embedded control such as combo box or edit box.
    16. CBCGPRibbonColorButton: addressed issue with a color box location when control has a large icon.
    17. CBCGPNumericIndicatorImpl: addressed issue with incorrect clipping during a digit transition effect when gauge is placed inside the visual container or created as sub-gauge.
    18. CBCGPLinearGaugeImpl: a default size of gauge pointer is DPI-aware now.
    19. CBCGPEditCtrl: addressed some issues with selection in GoToLine and GoToMarker methods.
    20. CBCGPGridCtrl: addressed issue with frozen columns created along with merged cells.
    21. CBCGPFontComboBox: addressed issue with incorrect row height calculation for some fonts.
    22. CBCGPRibbonFontComboBox: addressed issue with incorrect scroll bar behavior in case of huge amount of fonts.
    23. CBCGPEditCtrl: addressed issue with vertical scrolling by the mouse wheel in case when the whole text fits the editor page.
    24. CBCGPInfoBoxRenderer: addressed issue with a custom icon with non-standard (different from 32x32) size drawing.
    25. CBCGPToolbarEditBoxButton: addressed issue with the edit control height in DPI 100% mode.
    26. CBCGPToolbarDateTimeCtrl: addressed issue with date/time picker vertical alignment.