Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGControlBar Professional Edition

Version: 27.0. Released: 1/24/2018

  1. Added SVG images support. Please read the following article which describes advantages of using SVG in your applications, tutorials and references: Vector Graphics. All library internal images were converted to SVG format and Application Wizards include a new option: create a project with SVG icons (see screenshot). The following new classes were added to the product:
    • CBCGPSVGImage: implements an SVG image loading and rendering.
    • CBCGPSVGImageList: implements a list of SVG images ("sprite").
    Please take a look at new SVGViewDemo sample application (see screenshot) to see this new implementation in action. For your convenience, our designers prepared a set of SVG icons that you may freely use in your applications! Please find them in Graphics folder - there are 40 16x16 and 20 32x32 basic icons, hope you'll like them!
  2. Ribbon Bar
    1. CBCGPRibbonMainButton::SetImage and CBCGPRibbonMainButton::SetScenicImage methods have a new, optional parameter 'bDPIAutoScale'. Set it to TRUE if you wish to scale application button's image according to current DPI.
    2. Ribbon Bar controls key tip is not limited by 2 characters now.
    3. New method CBCGPRibbonBar::SetTabButtonIcons allows to specify icons for controls located on the right side of the tabs area.
    4. New virtual method CBCGPRibbonBar::PrepareCustomLabel allows to change the command label appearing on the customization dialogs. The default appearance is " (custom)".
    5. CBCGPRibbonBar: added SVG icons support.
    6. Ribbon Designer supports SVG images now.
    7. Optimized backstage view header redrawing.
  3. Docking Panes
    1. CBCGPOutlookWnd: added SVG icons support.
    2. CBCGPTasksPane: added SVG icons support.
    3. CBCGPToolBar: added SVG icons support.
  4. Visual Manager and Themes
    1. CBCGPVisualManager2016: improved non-client colors in Office2016 Black theme.
    2. CBCGPVisualManager2016: improved appearance of Outlook bar page buttons.
    3. Improved appearance of checked Ribbon buttons in Office 2013/2016 themes.
    4. Added new global member CBCGPVisualManager::m_strStylePath that allows to specify style DLLs location.
  5. Grid and Report Controls
    1. New message BCGM_GRID_HEADER_CHANGED is called on any changes on grid header, when columns are inserted, deleted or column position, size or visibility are changed.
    2. Added new virtual method IsReportCtrl().
    3. Grid control: fixed print preview issue. Now the selected printer font is consistent in print preview mode and the print out.
  6. Calendar and Planner
    1. Implemented ability to display an item's tooltip in bounds of the whole appointment: SetToolTipWholeArea and IsToolTipWholeArea methods were added to CBCGPPlannerManagerCtrl class.
    2. Implemented new view type: BCGP_PLANNER_TYPE_WEEK_DAYS (see screenshot). This view can be used instead of the standard week-view to show the week in multi-column mode (like work-week view).
    3. CBCGPPlannerManagerCtrl: added new attribute "Schedule Time Delta Day". Setting it to TRUE allows to display more appointments on the screen without scrolling the planner view. Call new method CBCGPPlannerManagerCtrl::SetScheduleTimeDeltaDay to set "day" scale instead of the standard "time" scale (60, 30, 20, ... minutes).
    4. Schedule View columns are automatically stretched now to occupy all free space.
  7. Controls
    1. Added new method CBCGPBaseTabWnd::SetImageAutoScale. Call this method before CBCGPBaseTabWnd::SetImageList to automatically scale tab icons according to current DPI.
    2. CBCGPButton: added SVG image support.
    3. CBCGPDateTimeCtrl: implemented "read-only" mode. Call new method SetReadOnly to enable/disable this mode or IsReadOnly to check the mode.
    4. CBCGPEdit: added button's tooltip. Call new method SetBrowseButtonToolTip to specify the tooltip.
    5. CBCGPHeaderCtrl: implemented ability to align header item text on top. SetColumnTextVertTopAlign and IsColumnTextVertTopAlign methods were added.
    6. CBCGPComboBox: improved appearance of icons in the disabled control.
    7. CBCGPTreeCtrlEx: optimized control items adding performance.
    8. CBCGPComboBox: added ability to use a custom edit control - override new virtual method GetEditCtrl and return a reference to CBCGPEdit-derived object.
    9. CBCGPStatic: added a picture support. Call new method CBCGPStatic::SetPicture to display BMP, PNG or SVG image inside the control.
  8. Graphics Manager
    1. Added new class CBCGPGeometryGroup: implements a group of the geometries.
    2. CBCGPBrush: added gradient stops support (D2D and GDI+ only). SetLinearGradientStops, SetRadialGradientStops and GetGradientStops methods were added.
    3. CBCGPBrush: added color transformation methods:
      • AddaptColors: translates brush color(s)
      • InvertColors: inverts brush color(s)
      • ConvertToGrayScale: converts brush color(s) to gray scale
      • Simplify: simplifies brush color(s) - all "non-empty" colors are converted to white
    4. CBCGPStrokeStyle: implemented custom dashes support; SetDashes method was added.
    5. Implemented GDI+ graphics manager - CBCGPGraphicsManagerGdiPlus. This class will be automatically used when your application is launched on system where D2D is not available, e.g. Windows XP. If you need to force GDI+ manager usage, please specify BCGP_GRAPHICS_MANAGER_GDI_PLUS in CBCGPGraphicsManager::CreateInstance method.
  9. Miscellaneous
    1. libpng (used for PNG images rendering) was upgraded to version 1.6.34.
    2. Added new method BCGPGLOBAL_DATA::GetCommonIcon: this method returns an Office-style icon such as Warning, Question, Error or Info. These icons can be used in Message Boxes or user's application.
    3. CBCGPMessageBox: added Office-style icons (see screenshot). If you wish to use native Windows icons, simply set CBCGPMessageBox::m_bUseNativeIcons to TRUE.
    4. CBCGPPngImage class doesn't use ATL's CImage class by default anymore: libpng is used in all Visual Studio versions. If for some reason you don't want to use libpng, please uncomment BCGP_USE_CIMAGE_FOR_PNG in BCGCBProConfig.h and rebuild the library.
    5. CBCGPToolBarImages supports SVG images now (in the previous product versions only BMP and PNG formats were supported).
    6. Toolbar Editor supports SVG images now.
    7. Added new definition BCGP_USE_EXTERNAL_ZLIB to BCGCBProConfig.h: uncomment it if you're using external ZLIB in your project.
    8. BCGPGLOBAL_DATA::SetDPIAware method was adapted to Windows 10 Creators Update (Build 1709) changes.
  10. Fixes
    1. Fixed some problems with compilation in Visual Studio 2017 with /permissive- compiler option.
    2. CBCGPPropertyPage: fixed problem with a default button appearance on the themed wizard page in "aero" mode.
    3. Dialogs: fixed info tip positions after changing controls layout.
    4. CBCGPListBox: fixed problem with WM_COMPAREITEM message processing in CBCGPListBox-derived classes.
    5. CBCGPPropList: improved appearance of read-only date/time property.
    6. CBCGPRadialMenuObject: fixed bug with radial menu size after animation in high-DPI systems.
    7. CBCGPRibbonEdit: fixed bug with setting read-only mode after installing latest Windows 10 updates.
    8. CBCGPTasksPane: fixed bug with incorrect MSAA behavior when task pane's embedded toolbar is re-created.
    9. CBCGPToolBarImages: improved image pre-processing mechanism. GetPixel/SetPixel methods are no more called in case of 24 or 32 bpp images. If you're still using 16 or 256 colors images, please consider to upgrade them to higher resolution to prevent application loading time problem under Windows 10 with latest updates.
    10. CBCGPTasksPane: fixed bug with task label vertical alignment is some visual themes.
    11. CBCGPWinUITiles: fixed bug with tiles layout after deleting all tiles in group.
    12. CBCGPGridCtrl: fixed color issues in report control with theme colors specified by m_ColorData.
    13. CBCGPGridCtrl: fixed drawing bug in multiline header: the merged header items with FreezeColumns feature and horizontal scrolling.
    14. CBCGPHeaderCtrl correctly draws center/right-aligned icons now.
    15. CBCGPRibbonBar: fixed bug with a caption redrawing after backstage horizontal scrolling in some visual themes.
    16. CBCGPGridCtrl: fixed some problem with a grid scrolling during selection by mouse.
    17. CBCGPScrollBar: fixed some issues with using control in the touch-screen environment.