New Features
SftBox/OCX 6.0 is virtually 100% upward compatible from version 5.0 and older versions. Upgrading a project from an older version usually takes just a few minutes. For details about upgrading, please see "Upgrading To Version 6.0".
Product Enhancements
- Dark mode support. The DarkMode property follows the Windows "Choose your mode" setting, or forces the light or dark palette. The static and edit portion, the drop down portion and the all follow it. DarkModeActive reports the current state and the DarkModeChange event is raised when it changes.
- Windows High Contrast support. With the HighContrastMode property set to Automatic, the control uses the system colors of the user's contrast theme while one is active, as Microsoft's accessibility guidelines require. See the HighContrastActive property and the HighContrastChange event.
- Accessibility - built-in Windows UI Automation support, so Narrator, NVDA, JAWS and other assistive technologies can read and operate the control. No opt-in and no code change is required.
- Per-Monitor DPI awareness. The control re-renders when its window moves to a monitor with a different . The DPI property returns the current monitor and the DPIChanged event reports the change.
- The ImageScaling property scales every image the control draws (item, cell, label, header and pictures) by the current , so artwork prepared at 96 keeps its physical size on a high-DPI monitor.
- The PixelScaling property scales caller-supplied pixel dimensions, such as column widths, the row header width and the drop down portion's width and height in pixels, by the current .
- Support for Visual Studio 2026, 2022 and 2019, including automatic addition of the control to the Toolbox.
- The sample applications for C#, VB.NET and C++ have one solution each, which Visual Studio 2019 through 2026 open, and follow the Windows dark mode and high contrast settings. The Pictures sample is now called ItemImages.
- The demo application is a 64-bit program with live combo boxes that follows the Windows dark mode setting.
- The control for use with Internet Explorer, the cabinet files and the Visual Basic 6.0 and HTML samples are no longer included. The methods provided for Internet Explorer/VBScript, whose names end in V (such as GetPositionV and HitTestV), are no longer available; use the methods of the same name without the V suffix instead.