Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 30.1. Released: 7/16/2019

  1. Dialogs and Forms
    1. New class CBCGPFindReplaceDialogThemed implements a themed find/replace dialog (see screenshot). The methods of this new class are very similar to CFindReplaceDialog methods, so you can easily replace the standard dialog with a new one. This dialog is used now by CBCGPEditView and CBCGPGridView classes. If for some reason you need to keep the old code, simply uncomment #define BCGP_USE_STD_FINDDLG in BCGCBProConfig.h and rebuild the library. Please take a look at BCGPGridExample and BCGPVisualStudioGUIDemo examples to see this new feature in action.
    2. CBCGPPropertySheet::EnablePageHeader has a new, optional parameter bExtendHeaderToAeroBackButton (default is FALSE). When this parameter is TRUE, the property sheet header will cover aero "Back" button (see screenshot).
  2. Chart Control
    1. Implemented bar/column shapes: the series can be either Box (default), Full Pyramid or Partial Pyramid (see screenshot). SetBarShape/GetBarShape methods were added to CBCGPChartBarSeries class.
    2. Implemented 3D chart rotation by the mouse cursor/gesture event (see screenshot) - EnableRotationByMouse and IsRotationByMouseEnabled methods were added to CBCGPChartDiagram3D class. Please take a look at BCGPChartExample to see this new feature in action.
  3. Visual Manager and Themes
    1. Improved appearance of the switch control: new image resources (both .SVG and .PNG) were added.
    2. Grid control: improved group box appearance in the Windows Native theme (see screenshot).
    3. CBCGPVisualManager2016: improved appearance of disabled edit box (Office 2016 colorful/dark themes).
  4. Grid and Report Controls
    1. CBCGPGridCtrl: added themed Find dialog support (see screenshot). Call a new method SetFindDialogThemed to specify whether the dialog is themed and IsFindDialogThemed to check if this dialog has a theme support.
    2. CBCGPGridView: added OnEditFind command handler. To enable finding in your grid view, just add ON_COMMAND(ID_EDIT_FIND, CBCGPGridView:: OnEditFind) in the message map of your CBCGPGridView-derived class.
  5. Controls
    1. CBCGPGroup: improved group with check box appearance customization; the following new virtual methods were added to this class: GetGroupNameSize, OnDrawGroupCheckBox and OnDrawGroupName.
    2. CBCGPListBox: implemented changing a pinned state by keyboard. "Right" key highlights a pin in the currently selected item and "Space" key toggles a highlighted pin state.
    3. Implemented switch control transition effect (see screenshot): when user toggles the switch state, a thumb will be smoothly moved to a new position.
  6. Edit control
    1. Improved bookmarks/markers support. CBCGPEditCtrl has the following new methods: - GoToFirstMarker: moves caret to the 1-st editor's marker - BookmarkLine: adds bookmark to the specific editor's line - MarkAll: adds bookmarks to all editor's lines that contain a specified text.
    2. CBCGPEditView: added new methods SetFindDialogThemed and IsFindDialogThemed.
    3. Improved exporting text to HTML.
  7. Miscellaneous
    1. CBCGPRibbonCheckBox: implemented modes - CheckBox or Switch (see screenshot). New methods SetMode and GetMode were added to CBCGPRibbonCheckBox class.
    2. CBCGPGraphicsManager: added new methods DrawPieEx, DrawDoughnutEx, Draw3DPieEx, DrawPyramidEx, Draw3DPyramidEx and Draw3DFunnelEx. These methods allow to draw shapes with extended outline attributes such as stroke style and line width.
    3. Added Visual Studio 2019 support to Ribbon Designer and Toolbar Editor.
    4. Ribbon Designer supports a Switch control now.
    5. CBCGPSVGImageList::SaveToFile has a new, optional parameter bAddEmptyOnError. When this parameter is TRUE, a blank SVG image will be added to the list in case of incorrect SVG source image.
  8. Examples and Samples
    1. BCGPChartExample: added column/bar shapes and 3D chart rotation by the mouse demonstrations.
    2. BCGPGridExample: added themed Find dialog demonstration.
    3. CBCGPMSOfficeDemoView: demonstrates how to add a custom Find/Replace dialog to CRichEditView-derived class (see screenshot).
    4. BCGPVisualStudioGUIDemo: illustrates a custom Find/Replace dialog (see screenshot).
    5. PropSheetDemo: demonstrates a page header that covers Aero Wizard "Back" button.
    6. RibbonGadgets: demonstrates Ribbon switch control (see screenshot).
  9. Fixes
    1. CBCGPBaseTabWnd::SetImageList: loaded image list is automatically scaled now according to the current DPI value.
    2. CBCGPEditCtrl: addressed issues with a text search.
    3. CBCGPPopupMenu: addressed issue with a vertical scrolling of the last menu item.
    4. CBCGPRibbonBar: addressed issue with preventing DPI scaling of Ribbon element's icon drawn on the menu's item.
    5. CBCGPRibbonStatusBarPane: addressed issue with DoDrawText virtual method parameters list.
    6. Addressed issue with incorrect color pickers layout in the color dialog in some Windows locales.
    7. Schedule view: addressed issue with drawing appointment duration.
    8. Chart: addressed issue with calculation of the value from/to pixels of the chart axis when labels are displayed between the tick marks.
    9. Radial menu: addressed issue with incorrect drawing/hit-testing when a number of menu items is 1.
    10. Addressed issue with closing an MDI document with active print preview in the Ribbon backstage mode.