BCGControlBar Library Professional Edition MFC v31.3

A nova classe adiciona a capacidade de criar propriedades de aplicativos a partir de um arquivo XML.
Junho 17, 2021 - 10:17
Nova versão

Funcionalidades

  • New class CBCGPPropertyManager adds an easy and efficient way to create your application properties (options) from an XML file, bind properties to CBCGPPropList control, save property values to the registry and load them.
    • In addition, BCGPControls example demonstrates how to export properties from CBCGPPropList control to external XML file and imports properties to control using custom CBCGPPropertyManager.
    • BCGControlBar Pro Application Wizard (for Microsoft Visual C++ 6.0 and Visual Studio 2017/2019) has a new option "Create Property Manager": if this option is checked, the application will be created with built-in property manager.
  • Chart Control
    • BCGPChartHitInfo::HitInfoTest now has a new flag "HIT_DATA_AREA" (series area: line or closed area) (except splines).
    • CBCGPChartSeries class now has a new method HitTest(const CBCGPPoint& pt, BCGPChartHitInfo* pHitInfo, UINT uiHitInfoFlags) - hit-test for data labels, data points and data area. uiHitInfoFlags can be combination of HIT_DATA_POINT, HIT_DATA_LABEL and HIT_DATA_AREA.
    • Improved data points hit-testing for 3D charts and bubble charts.
  • Property Grid Control
    • CBCGPProp: A new method AddOptions allows you to add a list of options all at once.
    • CBCGPProp: The following new virtual methods can be implemented in the custom properties for the property importing from XML and exporting to XML:
      • ExportToXML.
      • GetXMLValue.
      • SaveXMLAttributes.
      • SaveToRegistry.
      • LoadFromRegistry.
    • CBCGPProp::SetValue now allows you to change the variant type (e.g., you may pass "123" string and, if item is numeric, the value will be changed to 123).
    • CBCGPPropList: A new method ExportToXMLFile allows you to export properties to an external XML file.
  • Shell Management
    • CBCGPShellList: A new virtual method OnAfterRenameItem is called after the item renaming.
    • A new class CBCGPFolderPickerDialog adds a themed folder picker dialog. This dialog has a same functionality as standard CFolderPickerDialog, but it supports the visual themes and custom (recent) folders.
    • CBCGPShellManager: parameter 'BOOL bThemedBrowseFolderDlg' of BrowseForFolder method was replaced with 'UINT nBrowseFolderDlgStyle' (BCGP_FOLDER_PICKER_STANDARD, BCGP_FOLDER_PICKER_THEMED or BCGP_FOLDER_PICKER_FILEDLG).
  • MSAA and CodedUI Tests
    • CBCGPToolbarComboBoxButton: Improved control MSAA support (added STATE_SYSTEM_EXPANDED / STATE_SYSTEM_COLLAPSED, STATE_SYSTEM_UNAVAILABLE and STATE_SYSTEM_INVISIBLE states).
    • CBCGPGanttChart: Added MSAA support for all Gantt chart objects such as header, grid and items.
  • Edit Control
    • Added "Zoom" gesture event support. If edit control scaling (zooming) is available, a customer will be able to zoom-in or zoom-out edit control content on the touch screen using zoom gesture.
    • Added Edit control scaling. The following new methods and notifications were added to CBCGPEditCtrl class:
      • EnableZoom: Enables or disables editor zoom.
      • IsZoomEnabled: Tells whether zoom is enabled.
      • SetScale: Set the current editor scale.
      • GetScale: Get the editor scale.
      • SetScalingRange: Specify the editor scaling range.
      • GetMinScale and GetMaxScale: Obtain the editor scaling range.
      • BCGM_ON_EDITSCALECHANGED: Notify owner about editor scale changing.
      • CBCGPEditView: A new virtual method OnScaleChanged is called when the editor scale was changed.
    • Improved Edit control "modified" flag implementation:
      • BCGM_ON_MODIFIEDCHANGE: This new registered message notifies owner about "modified" flag changing.
      • CBCGPEditCtrl::SetModified method is now virtual.
      • CBCGPEditView correctly specifies a document's "modified" flag (e.g., if user undoes all editor actions, the document will be unmodified again).
  • Miscellaneous
    • CBCGPCircularGaugeImpl: The first (single) pointer can now be deleted (by calling RemovePointer method) and circular gauge can be created as pointer-less.
    • CBCGPGridItem::SetValue now allows you to change the variant type (e.g., you may pass "123" string and, if item is numeric, the value will be changed to 123).
    • CBCGPPopupWindow: Added new static methods HasActivePopup and CloseActivePopup which allow you to check whether a popup is active and close the active popup window.
    • CBCGPSVGImageList: Added new method GetLastXMLError. Call this method to obtain a recent XML parsing error if SVG contains an incorrect XML and image cannot be loaded. If a global flag CBCGPSVGImage::m_bTraceProblemsDefault is TRUE, the error will be automatically printed in the Debug Output window.
    • CBCGPTabWnd::SetupTabCloseButton method is now virtual.
    • CBCGPEdit: Parameter BOOL bThemedBrowseFolderDlg of EnableFolderBrowseButton method was replaced with UINT nThemedBrowseFolderDlg (0 - standard Shell dialog, 1 - themed dialog, 2 - folder picker dialog).
    • Toolbars/menus customization: Added ability to modify user images in SVG format.
    • CBCGPDiagramConnector: Added a new method Disconnect. Call this method to disconnect a connector from a diagram object. It removes all links between connector and diagram object. The placements of a connector and a diagram object remain unchanged.
  • Examples and Samples
    • BCGPChartExample: "Interactive Chart" view demonstrates improved hit testing.
    • BCGPControls: Added demonstration of how to switch between 2 and 4 digits in year field typing ("Date/Time control" view), import/export XML properties and new Folder Picker dialog.
    • BCGPGaugesDemo: Added demonstration of how to remove all pointers from the circular gauge ("Circular gauge elements" view).
    • BCGPVisualStudioGUIDemo: Added edit control scaling demonstration.
    • MDITabsDemo: Added demonstration of how to use a new class CBCGPPropertyManager.
    • ThemedFileDialog: Added CBCGPFolderPickerDialog demonstration.
BCGControlBar Library Professional Edition MFC

BCGControlBar Library Professional Edition MFC

Crie aplicativos com uma interface de usuário semelhante ao Microsoft Office, Microsoft Visual Studio e outros produtos bem conhecidos.

Tem alguma pergunta?

Chat ao vivo com nossos especialistas de licenciamento de BCGSoft.