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
A SftButton tracks hover state separately from mouse-over. The hover state controls which per-state images and colors the control renders, and generates SFTBUTTONN_HOVERON and SFTBUTTONN_HOVEROFF notifications when it flips.
iHoverStyle on SFTBUTTON_CONTROL selects the hover-detection region:
| Style | Hover region |
|---|---|
| SFTBUTTON_HOVERSTYLE_CONTROL (0) | Hover turns on when the mouse enters the button's client rectangle and off when it leaves. Default. |
| SFTBUTTON_HOVERSTYLE_EXACT (1) | Hover turns on only when the mouse is over a pixel that is actually rendered (text or image). Moving the mouse to background padding within the button rectangle turns hover off. |
SFTBUTTONN_HOVERON is sent when hover starts and SFTBUTTONN_HOVEROFF when it ends. Applications can use these for rollover effects outside the button itself - for example updating a status-bar description or pre-loading a related resource.
Hover style and click style are independent. A button can have click style SFTBUTTON_CLICKSTYLE_CONTROL (clicks anywhere) but hover style SFTBUTTON_HOVERSTYLE_EXACT (rollover highlighting only on visible content).
