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
Sentinel COLORREF value meaning "no color / use default". Used throughout SFTBUTTON_CONTROL's color fields and SFT_TEXT.colorFg. SFT_NOCOLOR is the equivalent name from the shared SftPicture2.h header; both names expand to the same value.
#define SFTBUTTON_NOCOLOR ((COLORREF) -1)
#define SFT_NOCOLOR ((COLORREF) -1)Any SFTBUTTON_CONTROL color field (colorBg, colorBgStart / colorBgEnd, colorBgHover, colorFg, colorDarkEdge and the rest) set to SFTBUTTON_NOCOLOR tells the control to use a sensible default: COLOR_BTNFACE for backgrounds, COLOR_BTNTEXT for text, COLOR_3DSHADOW / COLOR_3DHIGHLIGHT for borders - or the matching dark-mode / high-contrast palette color when those modes are active.
Setting either gradient endpoint (colorBgStart or colorBgEnd) to SFTBUTTON_NOCOLOR switches the background from gradient to solid fill using the corresponding solid color field (colorBg, colorBgFocus or colorBgHover).
See Also Colors and Gradients | SFTBUTTON_CONTROL
