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 with fToggle set to TRUE acts as a two-state button: each click flips the button between pressed and not-pressed, rather than returning to normal when the mouse button is released. The current state is held in the fPressed field.
In the pressed state, the button renders using its Pressed-state images (Picture1Pressed, Picture2Pressed, PictureBGPressed), the colorBgPressed background color and the colorFgPressed text color. Unlike a momentary press, the Pressed visual stays on the button until the user clicks again.
The application can query and set the toggle state by calling SftButton_GetControlInfo / SftButton_SetControlInfo and reading / writing fPressed. SftButton_DoClick synthesizes a click and flips the state.
SftButton does not implement intrinsic radio-button groups. Applications that want single-select radio behavior across multiple toggle buttons handle BN_CLICKED on each button and reset the other buttons' fPressed to FALSE through SftButton_SetControlInfo.
When fToggle is TRUE, the UIA Toggle pattern is exposed to screen readers. The pressed state is announced as "pressed" / "not pressed". See Accessibility (Screen Readers).
