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
The "bounce" animation is a short visual offset applied when the user presses the button - the button content shifts a few pixels down and to the right, giving a tactile feedback cue. The effect is purely visual; no additional click notifications are generated.
iBounce on SFTBUTTON_CONTROL controls the animation per button:
| Value | Behavior |
|---|---|
| SFTBUTTON_BOUNCE_DEFAULT (0) | Follow the application default (which is currently on). Use this value when you don't need to override. |
| SFTBUTTON_BOUNCE_YES (1) | Always animate on press, regardless of the application default. |
| SFTBUTTON_BOUNCE_NO (2) | Never animate, regardless of the application default. Useful for rapid-fire buttons (tool palette items, step buttons) where the animation would feel sluggish. |
When themes are active (nUseThemes is SFTBUTTON_THEME_YES), Windows draws the pressed-state visual and the bounce animation is suppressed - the theme's own press animation is used instead.
The pixel offset of the bounce animation is scaled automatically by monitor DPI. No caller action is needed. See Per-Monitor DPI and Scaling.
