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
SftButton supports four click-region modes through iClickStyle on SFTBUTTON_CONTROL. The click region is the area inside the button that generates a BN_CLICKED notification when the user presses the primary mouse button.
| Style | Click region |
|---|---|
| SFTBUTTON_CLICKSTYLE_CONTROL (0) | The entire button rectangle. Default. Matches the behavior of a standard Windows push button. |
| SFTBUTTON_CLICKSTYLE_EXACT (1) | Only the area actually occupied by text and images. Clicking on the background padding around the text does not count. |
| SFTBUTTON_CLICKSTYLE_IMAGESONLY (2) | Only pixels covered by an image layer (Picture1 / Picture2 / PictureBG and their per-state variants) generate clicks. |
| SFTBUTTON_CLICKSTYLE_TEXTONLY (3) | Only pixels covered by text generate clicks. |
Click regions let you implement buttons whose interactive area differs from their visual area - for example a button that renders a background image across its full rectangle but only activates on the foreground icon. The dropdown arrow (if enabled) has its own fixed click region and is unaffected by iClickStyle.
Hover detection has a parallel setting, iHoverStyle. The hover region can be independent of the click region. See Hover Detection.
