
Includes improvements to Ribbon Bar, Grid and Report controls.
Features
- Grid and Report Controls
- Implemented ability to automatically expand collapsed groups during text finding. Call the new method CBCGPGridCtrl::EnableSearchAndExpandCollapsedGroups to enable/disable this feature.
- CBCGPGridCtrl: a new virtual method OnBeforeReplaceItem is called by the framework before grid item replacing. Override this method to add some custom actions such as existing grid item data cleanup or customizing a new item before adding it to the grid.
- Grid conditional formatting: CBCGPGridCtrl has the following new virtual methods GetDataBarPerc, GetDataColorScalePerc, GetDataIconPerc. Override them to dynamically specify conditions.
- Improved rows/header check boxes support: added check box intermediate state and improved check boxes appearance.
- A new helper method CBCGPGridCtrl::ScrollToRow allows to vertically scroll the grid to the specified row.
- Improved in-place editing support. If no grid cell is selected and a user starts typing, then the editing will be started on the first (top-left) cell.
- Improved keyboard navigation in the filter bar: when user presses Enter in the filter bar edit box and filtered content is not empty, the focus is moved to the 1-st visible item in column.
- Controls
- CBCGPBreadcrumb: implemented breadcrumb item tooltip. EnableTooltip and IsTooltipEnabled methods were added to this class.
- CBCGPBreadcrumb: a new message BCCM_ISMENUDROPPED tells whether an item menu is dropped-down.
- CBCGPStatic: added a new global member m_bCheckAlignmentInSizeToContent (default value is FALSE). When this value is TRUE, SizeToContent takes into account control horizontal alignment (e.g., when alignment is right, the right position remains unchanged).
- Examples and Samples
- BCGPGridExample: added check box in row, search and expand collapsed groups, improved header icons appearance and demonstration how to add custom controls to the grid row in the virtual mode.
- BCGPChartExample: for the better appearance and usability, all slider controls (for the chart options) are in the "progress" mode now.