Skip Navigation LinksBCGSoft > Release Notes > Version Release Notes

Release Notes

BCGSuite for MFC

Version: 32.2. Released: 2/1/2022

  1. Dialogs and Forms
    1. CBCGPMessageBox: improved window layout. Width / height ratio is closer to the native Windows message box now.
    2. CBCGPDlgPopupMenu: a popup dialog can be created without any corresponding controls such as menu button or ribbon button; a new constructor "CBCGPDlgPopupMenu(CRuntimeClass* pRTI, LPCTSTR lpszTemplateName)" was added in this version.
  2. Grid and Report Controls
    1. CBCGPGridColorItem: implemented custom colors serialization (cell does not lose colors anymore after copying or moving).
    2. CBCGPGridDateTimeItem: added CBCGPDateTimeCtrl::DTM_CHECKBOX flag support. A grid date/time cell can be created with optional check box (see screenshot). While Data/Time picker has an unchecked state, CBCGPGridDateTimeItem shows a label for empty value. Please see a new optional parameter (LPCTSTR lpszNoDateLabel) in CBCGPGridDateTimeItem's constructor. The following new members were added to CBCGPGridDateTimeItem class: m_bIsChecked, m_strNoDateLabel.
    3. BCGP_GRID_FILTERBAR_OPTIONS: if m_clrMarkBackground or m_clrMarkText is CLR_DEFAULT, a default (visual theme-based, returned by CBCGPVisualManager::GetMarkedTextColor) color is used for displaying search results.
    4. CBCGPGridCtrl::GetVirtualRow method is a virtual now.
  3. Controls
    1. CBCGPListBox: an icon can be added to the caption.
    2. CBCGPListBox: AddCaption and AddSeparator methods return the index of the added row.
    3. CBCGPStatic: implemented 2 new versions of SetPicture method. First receives HBITMAP and second - CBCGPSVGImage.
  4. Miscellaneous
    1. CBCGPChartAxis: a size of resizing band is DPI-aware now.
    2. CBCGPGlobalUtils::DrawTextWithHighlightedArea: added multi-line text support.
    3. CBCGPSVGImage: GetSize method has a new, optional parameter "BOOL bCheckBounds" (FALSE by default). If this parameter is TRUE and SVG does not have a specified size, the size of the bounding rectangle will be returned.
    4. CBCGPTagManager: a new method ParseColorArray converts a string with color values to array of COLORREF values.
    5. CBCGPVisualContainer: a new method SetScrollOffset specifies scroll offset of the visual container.
  5. Examples and Samples
    1. BCGPGridExample: improved copy/paste of some custom grid cells ("Cell types" view).
    2. SVGViewDemo: CSVGPreview displays files without predefined size and MDI tab tooltip contains a full path to .SVG file.
  6. Fixes
    1. Addressed issue with keyboard accelerators when focus is located on read-only edit control.
    2. CBCGPSVGImage: addressed some issues with drawing elements with radial and linear gradients.
    3. CBCGPGridCtrl: addressed some issues with keyword navigation and scrolling by mouse in frozen rows mode.
    4. CBCGPEditCtrl: fixed bug with cursor positioning with some non-monospace fonts.
    5. CBCGPEditCtrl: left-side markers are not painted anymore in the compact (autohidden) horizontal scrollbar area.
    6. Visual Designer: addressed issue with circular gauge minimal size.