SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Windows themes can be selected by the user using the Settings app or the Control Panel.
If a theme is selected, the display of user interface controls, such as SftButton/DLL, adapts to the current display theme. The button control renders in one of three theme modes (see SFTBUTTON_CONTROL.nUseThemes):
| SFTBUTTON_THEME_NO (0) | Themes are not honored; the control renders using its built-in style, colors, gradients and images. |
| SFTBUTTON_THEME_YES (1) | Themes are fully honored. Windows renders the button background and border; the control renders its images and text on top. |
| SFTBUTTON_THEME_YES_NOTEXT (2) | Themes are honored for the button background and border only. The application's text color and font are used as specified instead of the theme's. |
SftButton/DLL makes it easy to use the same application across all supported platforms. If Windows themes are not available, the control will simply use its built-in display style, otherwise it will fully exploit Windows themes.
Keep in mind that numerous button definitions, particularly relating to per-state colors, gradients and borders, have no effect when themes are active.
Windows themes are automatically suppressed when Dark Mode or Windows High Contrast is active on the button control. See Dark Mode and High Contrast for details on the alternative rendering paths used in each case.
