Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGSuite for MFC

Version: 31.1. Released: 2/2/2021

  1. Implemented auto-hidden scrollbars for visual containers and controls (see screenshot). When a scroll bar is inactive (the mouse cursor is not located inside it), only compact (thin) thumb will be drawn. When you move the mouse inside the scroll bar, the bar will be fully drawn. You may enable this appearance by calling new method CBCGPVisualScrollBar:: EnableAutoHide. Please take a look at BCGPDigitalDashboard example and WinUITilesDemo sample to see this feature in action.
  2. Tasks Pane and Toolbox
    1. Implemented ability to show/hide specific toolbox buttons and pages. The following new methods were added:
      • CBCGPToolBoxButton::SetVisible
      • CBCGPToolBoxButton::IsVisible
      • CBCGPToolBoxPage::SetVisible (extended toolbox only).
      • CBCGPToolBoxPage::IsVisible
    2. Improved toolbox items layout: the buttons are not disappearing now when toolbox is narrow.
  3. Chart Control
    1. BCGPChartMarkerOptions: added new marker shape MS_CROSS (see screenshot).
    2. CBCGPChartHistogramSeries: a new method SetSizePercent allows to specify a histogram column width.
    3. CBCGPChartLongSeries: a new method SetOrderedXValues allows to specify whether data points are not ordered by X axis. By default, the data points are ordered.
    4. CBCGPChartDiagram3D: a new method SetWallsColor allows to specify 3D chart walls base color. In addition, CBCGPChartVisualObject::SetDiagramFillColor has a new optional parameter bSetWallsColor - set it to TRUE if you want to apply a diagram fill color to the 3D chart walls.
    5. Added ability to change 3D chart perspective by the mouse wheel: new method CBCGPChartDiagram3D::EnableChangePerspectiveByMouseWheel allows to enable/disable this feature. Please take a look at BCGPChartExample application to see this feature in action.
  4. Controls
    1. CBCGPListBox: improved multiple selection appearance when user selects items by mouse.
    2. CBCGPStatic: implemented Caption mode (see screenshot). Call new method CBCGPStatic::SetCaptionMode to enable/disable this mode for specific static control.
  5. MSAA and CodedUI Tests
    1. Improved accessibility names for all gauge controls.
    2. CBCGPToolbarLabel has a correct accessibility role now.
  6. Miscellaneous
    1. Improved C++ conformance: addressed some issues with compiling library with /permissive- and /std:c++latest options.
    2. CBCGPDrawManager::GetContrastColor: added a new optional parameter "dblRatio" (default value is 0.0). If this parameter is between 0 and 1, the returned color will be multiplied to this value.
    3. CBCGPToolBarImages: Load and LoadStr methods have a new, optional parameter lpszResType which specifies the resource type to be loaded. If this parameter is NULL (default), the first matched resource type will be used.
    4. CBCGPBaseVisualCtrl: added new static method CloseActivePopup - closes active popup (created by CBCGPBaseVisualCtrl::CreatePopup) visual control.
    5. CBCGPGraphicsManager: implemented native MFC serialization (using CArchive) for the following classes:
      • CBCGPColor
      • CBCGPBrush
      • CBCGPStrokeStyle
      • CBCGPTextFormat.
      Please take a look at PropertyGridMDIDemo sample to see how to serialize graphics manager data.
  7. Examples and Samples
    1. BCGPChartExample: added 3D chart perspective by the mouse wheel demonstration.
    2. BCGPDigitalDashboard: added auto-hide scroll bars in visual container demonstration.
    3. ToolBoxDemo: added demonstration how to show/hide specific toolbox buttons and pages.
    4. WinUITilesDemo: added auto-hide scroll bars in WinUI Tiles control demonstration.
  8. Fixes
    1. CBCGPCheckListBox: addressed issue with drawing check box in some visual themes.
    2. CBCGPIPAddressCtrl: addressed issue with deleting embedded edit controls.
    3. CBCGPDateTimeCtrl and CBCGPDurationCtrl: addressed issue with a spin control flickering when control is being moved/resized.
    4. CBCGPScrollDialog: addressed issue with restoring dialog placement.
    5. CBCGPDropDownToolbarButton: the icon is correctly rendered now when toolbar large icons mode is enabled.
    6. CBCGPEditCtrl: addressed issue with printing text with a dark background.
    7. CBCGPChartAxis: addressed issue with incorrect calculation of the huge (exceeded in64) axis values.
    8. Dialogs and forms: improved info tips drawing performance when the dialog layout is being changed.