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
Error codes returned in SFTBUTTON_CONTROL's errorValue field by SetControlInfo when a field has an invalid value. If SetControlInfo returns FALSE, call GetControlInfo and inspect errorValue to find out which field was rejected.
| Code | Offending field |
|---|---|
| SFTBUTTON_ERR_nBorderStyle (100) | nBorderStyle is outside the SFTBUTTON_BORDER_* range. |
| SFTBUTTON_ERR_nFillOrientation (101) | nFillOrientation is outside the SFT_ORIENTATION_HORZ / SFT_ORIENTATION_VERT range. |
| SFTBUTTON_ERR_nDropDownStyle (102) | nDropDownStyle is outside the SFTBUTTON_DROPDOWNSTYLE_* range. |
| SFTBUTTON_ERR_iHoverStyle (103) | iHoverStyle is outside the SFTBUTTON_HOVERSTYLE_* range. |
| SFTBUTTON_ERR_iClickStyle (104) | iClickStyle is outside the SFTBUTTON_CLICKSTYLE_* range. |
| SFTBUTTON_ERR_iAutoSize (105) | iAutoSize is outside the SFTBUTTON_AUTOSIZE_* range. |
| SFTBUTTON_ERR_iBounce (106) | iBounce is outside the SFTBUTTON_BOUNCE_* range. |
| SFTBUTTON_ERR_nDarkMode (107) | nDarkMode is outside the SFTBUTTON_DARKMODE_* range. |
| SFTBUTTON_ERR_nHighContrastMode (108) | nHighContrastMode is outside the SFTBUTTON_HIGHCONTRAST_* range. |
| SFTBUTTON_ERR_imageScaling (109) | imageScaling is outside the SFTBUTTON_IMAGESCALING_* range. |
| SFTBUTTON_ERR_pixelScaling (110) | pixelScaling is outside the SFTBUTTON_PIXELSCALING_* range. |
SetControlInfo zeroes errorValue on success and returns FALSE on failure. Only the first out-of-range field is reported; if multiple fields are invalid, fix the reported one and call SetControlInfo again to surface the next.
See Also SetControlInfo | SFTBUTTON_CONTROL
