
Includes improvements for Diagram, Grid and Report controls.
Features
- Diagram Control
- CBCGPDiagramShape: a new static member m_bShadowsEnabled allows to disable shadows for all objects of CBCGPDiagramShape-derived classes. By default, this member is TRUE.
- CBCGPDiagramShape: added a new virtual method IsShadowEnabled. Override this method to disable shadows for your CBCGPDiagramShape-class or for the specified shape object. The default implementation uses CBCGPDiagramShape::m_bShadowsEnabled, which is TRUE by default.
- Grid and Report Controls
- CBCGPGridCtrl: custom text/image margin support. Override new virtual method(s) GetTextMargin, GetTextVMargin and GetImageMargin to specify custom cell margins.
- CBCGPGridItem::Select method is virtual now.
- CBCGPGridCtrl: SetColorTheme and SetVisualManagerColorTheme methods are virtual now.
- Controls
- CBCGPBreadcrumb: new method RefreshDynamicItem updates content of the dynamic breadcrumb node.
- CBCGPBreadcrumb::SelectSubPath: this new method allows navigating to the current (selected) node-relative path.
- CBCGPBreadcrumb: added new virtual method PrepareInplaceEditRes. This method is called when user presses Enter key at in-place edit mode. Override this method to change edit box text value.
- CBCGPTreeCtrl: new method EnableThemedInplaceTooltip enables/disables themed in-place tooltips.
- CBCGPListCtrl: new method EnableThemedInplaceTooltip enables/disables themed in-place tooltips.
- CBCGPListCtrl: implemented custom (owner-draw) icons support. Override a new virtual method IsCustomIcon to tell whether a list control item has the custom icon and OnDrawCustomIcon to perform the icon drawing.
- CBCGPTreeCtrlEx: added TVS_SHOWSELALWAYS style support.
- Shell Management
- CBCGPShellBreadcrumb: a new virtual method IsExcludeFolder allows to filter-out tree nodes in the derived class.
- CBCGPShellBreadcrumb::SelectPath with an empty path navigates now to the root (Desktop) folder.
- Miscellaneous
- Added new shapes to BCGPChartMarkerOptions::MarkerShape: MS_TRIANGLE_LEFT, MS_TRIANGLE_DOWN, MS_TRIANGLE_RIGHT, MS_PENTAGON, MS_HEXAGON and MS_STAR.
- CBCGPGlobalUtils::EnableEditCtrlAutoComplete: a new, optional parameter lpszCurrentDirectory specifies files/folders autocomplete scope.
- CBCGPSVGImage: new global flag 'm_bTraceProblemsDefault' allows to prevent tracing SVG issue. By default, all SVG issues are reported to the Debug Output window.
- There are two new optional parameters in CBCGPSVGImage::DoDraw method: bKeepAspectRatio and bUseViewBoxSize.
- Examples and Samples
- BCGPChartExample: added new marker shapes demonstration.
- BCGPGridExample: demonstrates cell extended padding.
Fixes
- CBCGPBreadcrumb: when user cancels in-place editing by Escape key, the focus is moved to the parent window now.
- CBCGPGanttChart: addressed issue with incorrect vertical scrolling in case of huge number of Gantt chart rows.
- CBCGPGridCtrl: addressed issue with incorrect (non-contrast) foreground color of internal header icons in some visual themes.
- CBCGPSVGImageList::LoadFromSVGSpriteBuffer: addressed issue with incorrect SVG icons sorting in some cases.
- CBCGPTreeCtrlEx: addressed issue with removing selection when user clicks on the empty (outside items) space.
- CBCGPListCtrl: addressed issue with header control subclassing on style changing.
- CBCGPChartAxisPolarY: fixed axis drawing bug when axis has a minimal size or less.
- CBCGPComboBox: addressed issue with erasing of the empty dropped-down list box when control has CBS_SIMPLE style.
- CBCGPEditCtrl: addressed some issues with underlined font (used for the edit hyperlinks) incorrect initialization.
- CBCGPGridCtrl: addressed issue with filter bar redrawing after visual theme changing.
- CBCGPGridCtrl: improved appearance of switch item in some visual themes.