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
In addition to the standard Windows messages (WM_SETFONT, WM_COMMAND, WM_NOTIFY, WM_SETTEXT, WM_GETTEXT, etc.) that a SftButton control understands as a first-class Windows window, the control defines the following custom messages. Most applications use the SftButton_* helper functions instead of sending these messages directly, but the messages are documented here for applications that need to bypass the helper layer.
| Message | Value | Description |
|---|---|---|
| SFTBUTTONM_GETCONTROLINFO | WM_USER+3 | Retrieve the control's SFTBUTTON_CONTROL structure. lParam points to a caller-allocated SFTBUTTON_CONTROL with cbSize set. |
| SFTBUTTONM_SETCONTROLINFO | WM_USER+7 | Apply a SFTBUTTON_CONTROL structure. lParam points to a populated SFTBUTTON_CONTROL. |
| SFTBUTTONM_GETDESIGN | WM_USER+4 | Return the design-mode flag. |
| SFTBUTTONM_SETDESIGN | WM_USER+8 | Set the design-mode flag. |
| SFTBUTTONM_QUERYCHAR_A | WM_USER+5 | Ask whether an ANSI character would be handled as an accelerator. |
| SFTBUTTONM_QUERYCHAR_W | WM_USER+6 | Ask whether a Unicode character would be handled as an accelerator. |
| SFTBUTTONM_REFRESH | WM_USER+9 | Invalidate and repaint the control. |
| SFTBUTTONM_DOCLICK | WM_USER+10 | Synthesize a click on the main button area. |
| SFTBUTTONM_DOCLICKDROPDOWN | WM_USER+11 | Synthesize a click on the dropdown arrow. |
The SftButton_QueryChar macro expands to either SFTBUTTONM_QUERYCHAR_A or SFTBUTTONM_QUERYCHAR_W depending on the build's UNICODE setting.
See Also C/C++ API | Notifications
