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
Values for the iAutoSize field on SFTBUTTON_CONTROL. Each value names the anchor point on the original button rectangle that stays fixed as the button auto-sizes to its content.
| SFTBUTTON_AUTOSIZE_NONE (0) | Auto-sizing is disabled. The button stays at its current rectangle regardless of content changes. Default. |
| SFTBUTTON_AUTOSIZE_TOPLEFT | Anchor top-left. Button grows right and down. |
| SFTBUTTON_AUTOSIZE_TOPRIGHT | Anchor top-right. Button grows left and down. |
| SFTBUTTON_AUTOSIZE_BOTTOMLEFT | Anchor bottom-left. Button grows right and up. |
| SFTBUTTON_AUTOSIZE_BOTTOMRIGHT | Anchor bottom-right. Button grows left and up. |
| SFTBUTTON_AUTOSIZE_TOPCENTER | Anchor top-center. Button grows down and horizontally symmetric. |
| SFTBUTTON_AUTOSIZE_BOTTOMCENTER | Anchor bottom-center. Button grows up and horizontally symmetric. |
| SFTBUTTON_AUTOSIZE_LEFTCENTER | Anchor left-center. Button grows right and vertically symmetric. |
| SFTBUTTON_AUTOSIZE_RIGHTCENTER | Anchor right-center. Button grows left and vertically symmetric. |
| SFTBUTTON_AUTOSIZE_CENTER | Anchor center. Button grows symmetrically in all directions. |
Auto-sizing uses CalcOptimalSize internally, so any change that affects the optimal size (text, font, images, border style, theme) triggers an immediate resize when iAutoSize is not SFTBUTTON_AUTOSIZE_NONE.
See Also Auto-Sizing | CalcOptimalSize | SFTBUTTON_CONTROL
