Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 33.2. Released: 8/29/2022

  1. Office 2021/2022-style Visual Themes are available now (see screenshot and screenshot). A new class CBCGPVisualManager2022 implements the following visual styles: Colorful, Dark Gray, White and Black. These new styles were added to BCGP_VISUAL_THEME enumeration:
    • BCGP_VISUAL_THEME_OFFICE_2022_COLORFUL
    • BCGP_VISUAL_THEME_OFFICE_2022_DARK_GRAY
    • BCGP_VISUAL_THEME_OFFICE_2022_WHITE
    • BCGP_VISUAL_THEME_OFFICE_2022_BLACK
    Please take a look at BCGPMSOfficeDemo, BCGPVisualStudioGUIDemo, BCGPControls, BCGPOrganizer, DrawCLI and WordPad examples to see this new visual theme.
  2. Ribbon Bar
    1. CBCGPRibbonEdit: added auto-complete list support (see screenshot). SetAutoCompleteList and IsAutoCompleteList methods were added to this class. To fill the list with matched items, you have to handle a new registered message BCGM_RIBBONEDIT_ON_FILL_AUTOCOMPLETE_LIST in the Ribbon owner window class (usually CMainFrame). Please take a look at RibbonGadgets samples to see this feature in action.
    2. CBCGPRibbonBar::ExportImageToIcon has a new, optional parameter bAutoScale. If a Ribbon image is SVG, the returned icon will be automatically scaled according to current DPI.
    3. CBCGPRibbonBar::ForceRecalcLayout has a new, optional parameter bRebuildGlobalFonts. If this parameter is FALSE, the global fonts are not recreated. The most internal calls to this method are passing FALSE to this parameter now.
    4. Ribbon Designer additions:
      • added Office 2022 colorful, white, dark gray and black visual themes.
      • Ribbon Edit Box control has a new "Auto-complete list" property.
  3. Grid and Report Controls
    1. CBCGPGridCtrl: implemented ability to automatically expand grid groups when user types a text in the grid filter bar and group sub-item is matched to the filter. m_bAutoExpandGroups was added to BCGP_GRID_FILTERBAR_OPTIONS and BCGP_GRID_FILTERBAR_PARAM structures. In addition, EnableFilterBar method has a new, optional parameter bAutoExpandGroups. Please take a look at BCGPControls example ("Extended Tree Control" view) to see this feature in action.
    2. Method CBCGPGridRow::ReplaceItem restores selection if original row was initially selected.
  4. Calendar and Planner
    1. CBCGPCalendar: a new virtual method GetWeekDay allows to specify a custom week day label. By default, a system short week day is being used.
    2. CBCGPPlannerManagerCtrl: implemented ability to draw multi-day appointments with duration less than 24 hours (see screenshot). New methods SetMultiDayLessThan24 and IsMultiDayLessThan24 were added. Please take a look at BCGPCalendarDemo example ("Month" view) to see this feature in action.
  5. Controls
    1. CBCGPColorButton: when user presses the Enter key, the color popup is displayed now.
    2. CBCGPComboBox: an embedded edit box is created with a center vertical alignment now.
    3. CBCGPComboBox: improved selected item appearance in some visual themes.
    4. CBCGPGroup: added caption horizontal alignment and multi-line support (see screenshot). Please take a look at BCGPControls example to see this new feature in action.
    5. Added a new registered message BCGM_ROUNDED_CORNERS_ALLOWED: handle this message to tell whether rounded corners are allowed for specific control.
    6. CBCGPWinUITiles: a method SetRoundedShapes has a new, optional parameter dblCornerRadius (default is 2). A new method GetCornerRadius returns a previously specified corner radius.
  6. MSAA and CodedUI Tests
    1. CBCGPPopupWindow: improved MSAA support.
    2. CBCGPRibbonCategory: minimize button located on the bottom-right corner of the Ribbon category is accessible by keyboard now.
    3. CBCGPRibbonCommandsComboBox: improved MSAA support.
    4. CBCGPRibbonMDITabsTitle: MSAA state is correct now when the title is invisible.
    5. CBCGPRibbonBar: improved Narrator support for the Ribbon keyboard navigation.
  7. Miscellaneous
    1. CBCGPWindowsManagerDlg: added ability to display a full path in the item tooltip. CBCGPWindowsManagerDlg has a new, optional parameter bShowPathInTooltips. The same parameter was added to CBCGPMDIFrameWnd::EnableWindowsDialog method.
    2. CBCGPMessageBox: if hwndOwner is specified in the message box parameters, this window will be used as message box parent.
    3. CBCGPRegistrySP: method create has a new, optional parameter bForceDefault. If this parameter is TRUE, the default Windows registry will be always used.
    4. CBCGPDrawManager: added a new method DrawRoundRect. Call this method to draw a rounded rectangle with smooth rounded corners.
    5. CBCGPToolBarImages: image extraction methods (ExtractIcon, ExtractBitmap and ExtractSimplifiedIcon) have a new optional parameter sizeIconSVG: if image list contains SVG icons, the exported image will be scaled to specified dimensions.
    6. CBCGPToolBoxButton: a new method GetParentPage returns a pointer to page where the button is located.
    7. CBCGPEditCtrl: implemented standard keyboard accelerators (such as Ctrl+C or Ctrl+V) processing. Call new method SetProcessClipboardAccelerators to enable this feature. IsProcessClipboardAccelerators method tells whether the standard keyboard accelerators processing is enabled.
  8. Examples and Samples
    1. BCGPCalendarDemo: added demonstration of multi-day appointments with duration less than 24 hours in the Month view.
    2. BCGPControls: added groups with multi-line captions and various text alignments demonstration, color picker custom shapes and extended tree control auto-expand groups upon filter bar changing.
    3. MenuQuestionBox: added demonstration how to activate the question box using keyboard shortcut.
    4. RibbonGadgets: added demonstration how to create a Ribbon Edit box with auto-complete list.
    5. A new Office 2022 visual theme was added to the following examples and samples:
      • BCGPControls
      • BCGPGridExample
      • BCGPMSOfficeDemo
      • BCGPOrganizer
      • BCGPOutlookDemo
      • BCGPVisualStudioGUIDemo
      • DrawCli
      • WordPad
      • NotificationBadgesDemo
      • PropSheetDemo
      • RibbonDialogDemo
      • RibbonGadgets
      • RibbonMDIDemo
      • RibbonSimplifiedMode
      • RibbonStartPageDemo
      • ThemedFileDialog
    6. MDIEditorDemo: added example how to use Python-style editor scheme.
  9. Fixes
    1. Addressed issue with reading Windows options from the registry when custom application store (e.g. XML file) is specified. In the previous product versions, the framework tried to obtain some system settings such as ColorPrevalence, AccentColor or AppsUseLightTheme from the default application store.
    2. CBCGPButton: addressed issue with redrawing default push button when control is losing focus.
    3. CBCGPCircularGaugeImpl: addressed issue with incorrect needle size when DPI is more than 100%.
    4. CBCGPComboBox: fixed bug with automatically hidden vertical scroll bar (scroll bar did not appear upon mouse hovering).
    5. Dialogs and Forms: addressed issue with redrawing control info tips after layout changing.
    6. CBCGPStrokeStyle: method CompareWith is working correctly now when a list of custom dashes is specified.
    7. The system sound is not played anymore when the Ribbon's combo box or auto-complete popup is created.
    8. CBCGPListBox: fixed bug with incorrect caption row redrawing after removing items located prior the caption row(s).
    9. Frame windows: Windows 11 rounded corners are not specified anymore when the frame window is maximized. This prevents an incorrect redrawing of non-client area in the maximized state.
    10. Addressed issue with incorrect window/control border size in case of some window styles.
    11. CBCGPPropList: addressed issue with property button covered by in-place tooltip. Now, when user hovers the mouse cursor over the button, in-place tooltip is disappeared.
    12. CBCGPPropList: double-clicking on the group check box doesn't expands/collapses group anymore.
    13. CBCGPPopupMenu: addressed cascaded popup direction issue on the 3-rd level popup menu when a 1-st level menu is created near the right edge of the screen.
    14. CBCGPInfoBoxRenderer: improved rounded corners and drop-down shadow appearance.
    15. CBCGPScrollBar: addressed issue with processing some messages after control have been destroyed.
    16. CBCGPBrowseForFolderDlg: fixed bug with ignoring "include hidden" flag when "non-folders" flag is not specified.
    17. CBCGPToolBoxEx: addressed issue with incorrect indexes of remaining pages after removing a specific page.
    18. CBCGPToolBar: addressed issue with incorrect controls layout after dragging docking pane with embedded toolbar to other monitor with different DPI. This happened only if toolbar has controls such as combo boxes or edit boxes.
    19. CBCGPGridCtrl: the filter bar font is correctly scaled when Grid zoom factor or DPI has been changed.
    20. CBCGPRecentFilesListBox: addressed issue with drawing root (drive) folders.
    21. CBCGPRibbonComboBox: addressed issue with incorrect (non-scaled) drawing of the calculator icon in the high-DPI environment.
    22. CBCGPUserTool: addressed issue with invoking custom tool from the popup menu.
    23. CBCGPRibbonPanel: addressed issue with incorrect controls padding after DPI changing.