
Improves Grid, Report and Calendar controls.
Features
- Grid and Report Controls
- CBCGPGridCtrl: Added the ability to automatically expand grid groups when user types a text in the grid filter bar and group sub-item is matched to the filter. m_bAutoExpandGroups has been added to BCGP_GRID_FILTERBAR_OPTIONS and BCGP_GRID_FILTERBAR_PARAM structures. In addition, EnableFilterBar method now has a new, optional parameter bAutoExpandGroups.
- Added new CBCGPGridRow::ReplaceItem method which restores selection if original row was initially selected.
- Calendar and Planner
- CBCGPCalendar: Added new GetWeekDay virtual method which allows you to specify a custom week day label. By default, a system short week day is being used.
- CBCGPPlannerManagerCtrl: Added the ability to draw multi-day appointments with duration less than 24 hours. New SetMultiDayLessThan24 and IsMultiDayLessThan24 methods have been added.
- Controls
- CBCGPComboBox: An embedded edit box is now created with a center vertical alignment.
- CBCGPGroup: Added caption horizontal alignment and multi-line support.
- CBCGPWinUITiles: The SetRoundedShapes method now has a new, optional parameter dblCornerRadius (default is 2). A new GetCornerRadius method returns a previously specified corner radius.
- Miscellaneous
- CBCGPMessageBox: If hwndOwner is specified in the message box parameters, this window will now be used as message box parent.
- CBCGPDrawManager: Added a new DrawRoundRect method. Call this method to draw a rounded rectangle with smooth rounded corners.
- CBCGPToolBoxButton: Added new GetParentPage method which returns a pointer to page where the button is located.
- CBCGPEditCtrl: Implemented standard keyboard accelerators (such as Ctrl+C or Ctrl+V) processing. Call new method SetProcessClipboardAccelerators to enable this feature. IsProcessClipboardAccelerators method tells you whether the standard keyboard accelerators processing is enabled.
- Examples and Samples
- BCGPCalendarDemo: Added a demonstration of multi-day appointments with duration less than 24 hours in the Month view.
- BCGPControls: Added groups with multi-line captions and various text alignments demonstration, color picker custom shapes and extended tree control auto-expand groups upon filter bar changing.
- MDIEditorDemo: Added an example of how to use Python-style editor scheme.