
Adds filter text highlighting in the data grid, plus improves the chart and adds a month picker in the calendar bar.
Features
Chart Control
- CBCGPChartLineObject: added line shadow support. New methods SetShadow and GetShadowDepth were added to CBCGPChartLineObject class.
- Added 2 new thumbnail flags (passed to CBCGPChartVisualObject::SetThumbnailMode):
- BCGP_CHART_THUMBNAIL_DRAW_AXIS_NAME: displays an axis name.
- BCGP_CHART_THUMBNAIL_DRAW_TITLE: displays a chart title.
- Implemented ternary axis title location modes: new CBCGPChartTernaryAxis::TitleMode enumeration has the following members:
- TM_NORMAL: default, title is located at the end of the axis.
- TM_CENTER: the title is located at the center of the axis.
- The title location is used by the following new methods:
- CBCGPChartTernaryAxis::SetTitleMode - sets the title mode for the ternary axis.
- CBCGPChartTernaryAxis::GetTitleMode - returns the current title mode.
- CBCGPChartVisualObject::SetTernaryAxesTitleMode - sets the title display mode for all ternary axes.
Grid and Report Controls
- Added highlighting of the matched text for the filter bar: CBCGPGridCtrl ::EnableFilterBar method has new optional parameters: 'clrMarkBackground' - specifies highlighted text background and 'clrMarkText' - specifies highlighted text foreground.
- Added new BCGM_GRID_FILTERBAR_CHANGED event. This event is fired when text in the grid filter bar is being changed.
- CBCGPGridCtrl::HasNextSibling method has a new parameter bVisibleOnly that allows to use this method with a filter.
- New method CBCGPGridCtrl::OnMeasurePrintPageItems allows customizing content in printing mode.
Controls
- Calendar bar: improved month picker appearance.
- New method SetEditBoxesVerticalAlignment (implemented in all dialog classes such as CBCGPDialog, or CBCGPFormView) allows specifying a single-line edit box text vertical alignment for all edit box controls located on this dialog.
- CBCGPEdit: implemented single-line text vertical alignment. SetVerticalAlignment / GetVerticalAlignment methods were added to this class.
- CBCGPEdit:: EnableFolderBrowseButton: added a new, optional parameter lpszInitialFolder - specifies a folder which initially displayed in the Folder Picker dialog.
- CBCGPTreeCtrlEx: implemented standard Tree View notifications (TVN_SELCHANGED, TVN_SELCHANGING, TVN_ITEMEXPANDING and TVN_ITEMEXPANDED). New method CBCGPTreeCtrlEx::EnableTreeCtrlNotifications allows to enable/disable them.
- Implemented easy way to create CWnd-derived controls on the static placeholder location: a new method CreateOnPlaceHolder was added to the following classes:
- CBCGPCalculator.
- CBCGPCalendar.
- CBCGPEditCtrl.
- CBCGPGridCtrl.
Examples and Samples
- BCGPChartExample: added line object shadows demonstration, axis label mode and title mode in the Ternary view and CBCGPTreeCtrl (located in Workspace view) was replaced with CBCGPTreeCtrlEx with filter bar.
- BCGPGaugesDemo: CBCGPTreeCtrl (located in Workspace view) was replaced with CBCGPTreeCtrlEx with filter bar.
- BCGPGridExample: added Filter Bar results highlighting demonstration.
- EditBoxDemo: added edit boxes vertical alignment demonstration.
- TreeCtrlDemo: added tree control notifications and filter bar demonstrations.
Fixes
- CBCGPGaugeImpl: addresses issue with sending tracking event to the correct parent windows.
- CBCGPGridCtrl: fixed DPI issue for the grid Combo-box item and Auto-Complete list, now font of a dropped list is scaled accordingly.
- CBCGPGridCtrl: addresses issue with in-place editing of the merged cells.
- Chart: fixed bug in hit-testing points for stock chart in the line mode.
- Chart: fixed a bug of recalculation of axis values when adding an array of double values.
- CBCGPCalendar: addresses problem with displaying selected day in the high-contrast mode.