Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGSuite for MFC

Version: 37.31. Released: 02/24/2026

  1. Miscellaneous
    1. CBCGPButton: added support for the semi-flat (toolbar button-like) style in the themed push button (see screenshot). Set the m_nFlatStyle member to CBCGPButton::BUTTONSTYLE_SEMIFLAT, and the button will be displayed without borders and inner filling in the regular (non-highlighted) state. Our example BCGPControls ("Push buttons" view) demonstrates this addition.
    2. CBCGPTreeCtrlEx:
      • Implemented TVM_GETITEMSTATE message handling. This addition allows using the extended tree control with the standard Win32 macros, such as TreeView_GetCheckState or TreeView_GetItemState.
      • A new flag, StrictGetItemDataChecking, has been added (along with the IsStrictGetItemDataChecking and SetStrictGetItemDataChecking access methods) to provide compatibility with the standard Windows tree view control. By default, CBCGPTreeCtrlEx::GetItem fills the data based on the input state and state mask, while the Windows tree view control does not check this data. Call SetStrictGetItemDataChecking(FALSE) to make CBCGPTreeCtrlEx::GetItem compatible with CTreeCtrl.
    3. CBCGPStatic: a new virtual method DoFillBackground is called by the framework to fill the static control client area. By default, it fills the background with the specified background color (m_clrBkgnd) or does nothing if it is not specified. Override this method to fill the static control with your custom background.
  2. Examples and Samples
    1. BCGPControls: added a demonstration of a toolbar button-style push button.
    2. GraphicsManagerDemo: added a demonstration of how to improve GDI-based controls (such as push buttons and static text) rendering using the graphics manager (see screenshot).
  3. Fixes
    1. CBCGPTreeCtrlEx: fixed the bug with the incorrect value returned by the GetCheck method (appeared in version 37.3).
    2. CBCGPShellBreadcrumb: addressed an issue that could cause a memory leak when using third-party compilers.