BCGControlBar Professional Edition Version: 28.0. Released: 8/1/2018 Ribbon Bar Implemented Office 2013/2016-like Ribbon Bar Auto-hide mode (see screenshot). The following new methods were added to CBCGPRibbonBar class: SetAutoHideMode - activates/deactivates auto-hide mode IsAutoHideModeAvailable - tells whether auto-hide mode is active. Please note that auto-hide mode is not compatible with a Ribbon DWM ("aero") caption, therefore auto-hide mode will be automatically closed when user activates an "aero" visual theme (e.g. Office 2007 or 2010). Please take a look at BCGPMSOfficeDemo example to see this feature in action. Added ability to specify whether the Ribbon custom caption button should be displayed: new parameter nFlags was added to CBCGPRibbonCaptionCustomButton constructor. The flag is a combination of the following values: BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_NORMAL_MODE, BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_BACKSTAGE_MODE and BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_HIDDEN_MODE. CBCGPRibbonBar:: ReplaceRibbonElementByID has a new optional parameter bIncludeHidden. Set it to TRUE if you wish to replace the Ribbon control in the hidden elements too. Toolbars and Menus CBCGPColorMenuButton class has a new virtual method "CreateTearOffColorBar". Override this method if you need to create your custom, CBCGPColorBar-derived tear-off color bar. CBCGPColorBar: added owner-draw color boxes support (see screenshot). A new virtual method "OnDrawPaletteColorBox" was added to CBCGPColorBar, CBCGPColorButton, CBCGPColorMenuButton, CBCGPGridColorItem, CBCGPGridCtrl and CBCGPColorProp. BCGPControls and BCGPGridExample sample applications demonstrate this new feature. Implemented ability to hide toolbar/menu bar items with an empty items list: HideEmptyMenus and IsHideEmptyMenus methods were added to CBCGPToolBar class. Dialogs and Forms Added new registered message BCGM_ONERASECHILDCONTROLBACKGROUND: add this message handler in your dialog/form with a custom background. BCGPControlInfoTipStyle: added new info tip styles - BCGPINFOTIP_Warning, BCGPINFOTIP_InfoBlue, BCGPINFOTIP_Question and BCGPINFOTIP_Bulb. CBCGPPropertySheet: improved page redrawing performance upon changing active page and window resizing. A new m_bFlickerLess member was added to CBCGPPropertySheet class. If for some reason you need to keep a previous behavior, set this member to FALSE in the property sheet constructor. Chart Control Implemented new color themes: CBCGPChartTheme::CT_SPB (see screenshot), CBCGPChartTheme:: CT_PALACE (see screenshot) and CBCGPChartTheme:: CT_ICE (see screenshot). Implemented hit-testing and data-point tooltip for the 3D Surface chart. Gauge Controls Added a new class CBCGPNumericIndicatorCtrl: implements a Windows control with underlined numeric indicator (CBCGPNumericIndicatorImpl). Implemented smoothly transitioning numbers (see screenshot) in CBCGPNumericIndicatorImpl: uiAnimationTime and animationType parameters where added to CBCGPNumericIndicatorImpl::SetValue method. New method "CBCGPNumericIndicatorImpl::SetTextFormatAutoSize" specifies whether a control text size should be changed upon control resizing. Grid and Report Controls New virtual method CBCGPGridItem::GetDataColorScale allows to customize a data color scale. Filter bar keyboard support has been improved: added support for the standard keyboard shortcuts such as Ctrl+X, Ctrl+C, Ctrl+V and Ctrl+A. Property Grid Control Added "switch" (toggle)-style Boolean property (see screenshot). CBCGPPropList:: BooleanPropertiesStyle enumerator has a new value BOOL_PROPS_SWITCH. A new method CBCGPProp::SetSwitchLabels specifies the switch labels (like "On" / "Off"). CBCGPPropList::SetBooleanPropertiesStyle has a new optional parameter 'nHorzAlign': specifies a horizontal align of the check box/switch. By default, this parameter is TA_LEFT. Controls Added standard Windows keyboard accelerators (such as "Ctrl+C") processing to all edit controls. CBCGPListBox: improved hit testing performance for control with a large number of items. CBCGPTreeCtrl: added support for themed (visual manager-style) check boxes. CBCGPListCtrl: added support for themed (visual manager-style) check boxes. Graphics Manager Implemented D2D validation in CBCGPGraphicsManagerD2D: CBCGPGraphicsManagerD2D::InitD2D: if D2D is not properly installed on the machine, all future renderings will be performed by CBCGPGraphicsManagerGDIPlus or CBCGPGraphicsManagerGDI. CBCGPGraphicsManagerD2D::CreateImage and CBCGPGraphicsManagerGdiPlus::CreateImage: implemented loading of external SVG files. Miscellaneous BCGCBProConfig.h: added new build flag "BCGP_EXCLUDE_SVG". Uncomment this definition and rebuild the library if you wish to exclude SVG support. CBCGPContextMenuManager: added a new method "CancelTracking". Call this method if you need to close the menu during CBCGPContextMenuManager::TrackPopupMenu call. CBCGPKeyHelper: added new public static member 'm_pKeyFormatCallback'. Specify this member if you wish to implement your custom key format. CBCGPRegistry: added a new static flag 'm_bAutoCloseKey'. Set this flag to TRUE if you wish to close a previous registry key in CBCGPRegistry::CreateKey and CBCGPRegistry::Open methods. Examples and Samples BCGPControls: added demonstration of custom color buttons, custom color property and Boolean property switch. BCGPChartExample: added new chart color themes and interactive 3D surface chart demonstration. BCGPGaugesDemo: added demonstration of numeric indicator animation. BCGPGridExample: added custom grid color item. BCGPMSOfficeDemo: added Ribbon auto-hide mode demonstration. ResizableForm: demonstrates page transition effect in the resizable property sheet. RibbonGadgets: added Ribbon auto-hide mode demonstration. Fixes CBCGPAnimCtrl: addresses an issue with control appearance in preview mode. CBCGPCalendar: addresses an issue with control layout when max. date is specified. CBCGPLightBoxDialog: addresses an issue with caption button mouse highlighting. Control info tips: addresses an issue with control appearance in preview mode. CBCGPToolBarImages::CopyTemp: addresses an issue with copying SVG images. CBCGPMDIChildWnd: addresses an issue with updating Ribbon bar caption when MDI child is maximized. CBCGPMessageBox: addresses an issue with message box displayed from the popup menu. CBCGPScrollBar: addresses an issue with control appearance in RTL mode. CBCGPScrollBar: addresses an issue with incorrect hit-testing on control edges. CBCGPPageTransitionManager: addresses an issue with incorrect fade animation. CBCGPRibbonBar: addresses an issue with incorrect location of dropped-down category window (in the Ribbon bar minimized mode). In the previous product versions, the popup category rectangle was normalized in the current screen. CBCGPPropertySheet: addresses an issue with page transitions in the resizable property sheet. CBCGPTabbedControlBar: addresses an issue with restoring tab names. The old docking pane names are not assigned to the tab labels anymore. CBCGPStatic: addresses an issue with drawing separator in the preview mode. CBCGPSliderCtrl: addresses an issue with incorrect redrawing of zoom buttons in some cases. CBCGPPropertySheet: addresses an issue with Windows task bar icon flickering during page transition when the property sheet is a main application window. CBCGPPropertySheet: a navigation pane (located at the left side) has a correct tab order now. CBCGPFrameImpl: addresses an issue with incorrect frame shadow when user moves application's frame between monitors with different resolutions. CBCGPMaskEdit: addresses an issue with wrong Ctrl+navigation key processing when edit control mask is disabled.