
Includes new Microsoft Office 2019-style Visual Themes.
Features
- Themes
- Microsoft Office 2019-style Visual Themes are now available. A new class CBCGPVisualManager2019 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_2019_COLORFUL
- BCGP_VISUAL_THEME_OFFICE_2019_DARK_GRAY
- BCGP_VISUAL_THEME_OFFICE_2019_WHITE
- BCGP_VISUAL_THEME_OFFICE_2019_BLACK
- Microsoft Office 2019-style Visual Themes are now available. A new class CBCGPVisualManager2019 implements the following visual styles: Colorful, Dark Gray, White and Black.
- Chart Control
- Implemented tooltip support for the chart objects: new SetTooltip, GetTooltip and GetDescription methods were added to CBCGPChartObject class.
- Improved Chart tooltips support: using a new method CBCGPChartVisualObject::SetHitTooltipFlags you may now specify which chart parts should have tooltips. By default, tooltips are displayed for the Chart axis, data points, axis scale breaks and data table cells.
- Shell Management
- Implemented shell notification support: when shell control content is changed outside the application, the control is notified about this and will be automatically updated. A new method RegisterShellNotification was added to CBCGPShellBreadcrumb, CBCGPShellList and CBCGPShellTree classes.
- Implemented themed "Browse for Folder" dialog.
The following methods have a new, optional parameter bThemedBrowseFolderDlg:- CBCGPShellManager::BrowseForFolder
- CBCGPEdit::EnableFolderBrowseButton
- CBCGPFileProp constructor
- Miscellaneous
- CBCGPComboBox: method CalcRowHeight is now virtual.
- CBCGPDrawManager: new helper AreContrastColors tells whether 2 specified colors have enough contrast.
- CBCGPMenuBar: implemented right-aligned menu bar items.
The following new methods were added to this class:- AddItemToRight: add an item to the menu bar right side
- RemoveAllItemsOnRight: remove all right-aligned menu bar items
- CBCGPRibbonCheckBox: implemented right-aligned text label - SetRightAlignText and IsRightAlignText methods were added to this class.
- CBCGPDiagramVisualContainer: new method 'RemoveSelected' deletes selected diagram's objects and connectors.
- CBCGPPlannerViewSchedule: implemented ability to show/hide the duration bar in schedule view. EnableDurationBar and IsDurationBarEnabled methods were added to this class.
- CBCGPWnd: improved MSAA support for Visual C++ 6.0.
- Examples and Samples
- BCGPChartExample: added object tooltips demonstration.
- BCGPControls: demonstrates a themed "Browse for folder" dialog and Shell notification.
- BCGPExplorer: demonstrates Shell notification.
- BCGPMSOfficeDemo, DrawCLI, Wordpad and RibbonGadgets: illustrate Office 2019 (Office 365)-style Ribbon bar.
- MenuLogo: demonstrates right-aligned menu bar items.
Fixes
- CBCGPCalendar and CBCGPDateTimeCtrl: addressed issue with incorrect treating December 30, 1899 as empty date.
- CBCGPScrollDialog: addressed issue with slow scrolling on mouse wheel event.
- CBCGPRibbonCaptionMDITabs: addressed issue with invisible highlighted tab Close button when a custom Windows 10 accent color is red.
- CBCGPRibbonCheckBox: addressed issue with incorrect foreground color when the control was placed on the status bar (in some visual themes).
- CBCGPEditCtrl: addressed issue with incorrect caret position during the text block dragging.
- CBCGPWinApp: addressed issue with a multiple times visual theme selection in the application's constructor.
- CBCGPScrollBarImpl: addressed issue with incorrect thumb size for Windows 8 and later.
- CBCGPSVGImage: addressed issue with incorrect order of 'use' elements.
- CBCGPVisualContainer: addressed issue with different graphics managers in several calls of ExportToBitmap method.
- CBCGPCircularProgressIndicatorImpl: addressed issue with animation in marque mode when parent (owner) window is being destroyed.
- CBCGPTreeCtrlEx: addressed some node toggling issues in Expand method.