Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGSuite for MFC

Version: 34.1. Released: 2/27/2024

  1. Dialogs and Forms
    1. Background Image Support Improvements:
      • CBCGPDialog and CBCGPPropertyPage classes now include a new, optional parameter, bScaleByDPI, in the SetBackgroundImage method. When set to TRUE, this parameter scales the background image according to the current DPI.
      • CBCGPFormView class now supports background images with the addition of the SetBackgroundImage method.
      • Enhanced appearance of background images in scrollable dialogs (CBCGPScrollDialog).
    2. CBCGPDialog: Improved appearance of expandable dialogs with background images (see screenshot).
    3. CBCGPEditBrushOptions: Added a new member, m_bNoGradients (default is FALSE). When set to TRUE, this member allows the brush to be empty or a solid color only.
  2. Gauge Controls
    1. Circular and linear gauges: improved built-in color themes such as Blue or Silver (see screenshot).
    2. CBCGPCircularGaugeImpl and CBCGPLinearGaugeImpl: a new method GetColorTheme returns a currently selected built-in theme id or (-1) if the gauge uses either custom or visual manager-based theme.
    3. CBCGPCircularGaugeImpl: a new virtual method OnAfterSetColorTheme is called by the framework after setting the standard color theme. Override this method to change the standard theme colors.
  3. Visual container and Visual Designer
    1. CBCGPVisualEffect: added a new enumeration BCGP_VISUAL_SOURCE:
      • BCGP_VISUAL_SOURCE_DEFAULT - depends on the effect
      • BCGP_VISUAL_SOURCE_COLOR - color and alpha channel
      • BCGP_VISUAL_SOURCE_ALPHA - alpha channel
    2. Visual Designer improvements:
      • Added new 'Themes' property for circular and linear gauges (see screenshot).
      • Added new 'Effects' property for circular, linear, color indicator, text, and image gauges (see screenshot).
    3. CBCGPVisualContainer: a new method EnableVisualEffects allows to temporarily enable/disable visual effects for all objects. AreVisualEffectsEnabled method tells whether the visual effects are enabled.
  4. Visual Manager and Themes
    1. CBCGPVisualManager: a new method OnDrawSwitchWithColor allows to draw switch control with specified On/Off colors.
    2. CBCGPVisualManager: the following new Planner drawing methods were added:
      • CanFillDayNonWorkingItem: tells whether non-working days should be filled with a special background.
      • OnFillPlannerDurationBar: called by the framework for filling the planner duration bar.
      • GetPlannerViewBackgroundColor: returns the planner view background color.
      • OnDrawPlannerHeaderAllDayItemBorder: called by the framework for drawing "All day" header border.
  5. Grid and Report Controls
    1. BCGP_GRID_COLOR_DATA: a new method InitColors simplifies colors initialization to the default values.
    2. CBCGPGridCheckItem: a new method SetSwitchColors allows to specify switch custom colors (see screenshot). Our example BCGPGridExample demonstrates this addition.
    3. CBCGPGridCtrl: a new method SetContentFullClear specifies behavior of CBCGPGridItem::ClearContent method. If you are calling this method with parameter TRUE, all grid item data will be deleted when CBCGPGridItem::ClearContent method is called; otherwise, only grid item value is cleared. By default, the full clearing of the content is disabled. In addition, a new method IsContentFullClear tells whether the full clearing of the content is enabled.
    4. CBCGPGridCtrl: implemented the ability to specify the hierarchy line color. Call a new method SetTreeLineColo to change the line color and call GetTreeLineColor to obtain the line color.
    5. CBCGPGridCtrl: a new method SetTextColor sets a text color of the control. If the color value is -1, the default text color will be used.
  6. Controls
    1. CBCGPListBox: a new virtual method OnBeforeFillItem allows to customize the appearance of certain list box items. Please take a look at BCGPControls example ("List box" view) to see this new feature in action.
    2. CBCGPTreeCtrlEx: the following CTreeCtrl-like methods were added to this control:
      • GetIndent
      • SetIndent
      • SetBkColor
      • GetItemHeight
      • SetItemHeight
      • GetLineColor
      • SetLineColor
      • EndEditLabelNow
  7. Miscellaneous
    1. CBCGPWinUIBaseObject: added a new virtual method OnDPIChanged; override this method if you need to perform some custom actions upon DPI changing.
    2. CBCGPXmlNode: added support for reading/writing of the UNICODE strings in MBCS applications; new methods GetTextW and SetTextW were added to this class.
    3. CBCGPGraphicsManager: a new method ExportSymbolToBitmap allows to create a bitmap containing a symbol (using special fonts like "Segoe Fluent Icons" for Windows 11 or "Segoe MDL2 Assets" for Windows 10). Please take a look at our GraphicsManagerDemo sample ("Texts" view) to see this addition in action (see screenshot).
    4. CBCGPShellBreadcrumb: added ability to automatically expand environment strings (such as %APPDATA%) typed in the control edit box. Call new method EnableExpandEnvironmentStrings to enable this feature.
    5. CBCGPSVGImage: method ExportToBitmap has a new, optional parameter 'bOptimizedConvertion' (FALSE by default). When this parameter is TRUE, a new optimized (single-pass) rendering will be used. The optimized conversion is always used for the font icons export.
  8. Examples and Samples
    1. BCGPControls: added List Box custom colors and Tree Control custom indent demonstrations.
    2. BCGPGridExample: added grid switch custom colors demonstration.
    3. ExpandDialogDemo: added custom background image demonstration.
    4. GraphicsManagerDemo: added font icons demonstration.
  9. Fixes
    1. CBCGPInfoBoxCtrl: addressed issue with incorrect tooltips when the link occupies more than one row.
    2. CBCGPButton: addressed issue with incorrect check box left margin when control has "left text" style.
    3. CBCGPPopupWindow: addressed issue with incorrect popup window height when the popup does not have both caption and gripper (for example, the information tip).
    4. CBCGPGridCtrl: addressed some MSAA issues with bounding rectangles of horizontally scrolled grid rows.
    5. CBCGPGridCtrl: addressed issue with unnecessary in-place tooltip when the grid child window (such as grid cell edit box) is active.
    6. CBCGPGridCtrl: fixed bug with incorrect highlighted item after removing grid items.
    7. CBCGPPlannerManagerCtrl: addressed issue with displaying planner with multi-resource storages when the resource list is empty.
    8. Gauges and diagrams: addressed issues with drawing shadows for the objects with an empty background or outline brush.