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 complete C and C++/MFC API for SftButton/DLL 3.0, in alphabetical order.
| Function | Description |
|---|---|
| CalcOptimalSize | Compute the ideal width and height for the button given its current content. |
| Create | Create a SftButton control as a child window programmatically (C++/MFC only). |
| CSftButton | Default constructor / destructor for the MFC class (C++/MFC only). |
| DoClick | Programmatically click the main button area. |
| DoClickDropDown | Programmatically click the dropdown arrow. |
| FreeGDIPlusImageLoadedFromFile | Free a GDI+ image previously loaded with LoadGDIPlusImageFromFile. |
| FreeGDIPlusImageLoadedFromResource | Free a GDI+ image previously loaded with LoadGDIPlusImageFromResource. |
| GetControlInfo | Retrieve the current SFTBUTTON_CONTROL structure. |
| GetDarkMode | Return the current dark mode setting (OFF / ON / AUTO). |
| GetDesign | Return whether the control is in design mode. |
| GetDPI | Return the effective DPI of the monitor the control is currently displayed on. |
| GetHighContrastMode | Return the current high contrast setting (OFF / ON / AUTO). |
| GetImageScaling | Return the current image-scaling setting (ASIS / STRETCH). |
| GetPixelScaling | Return the current pixel-scaling setting (ASIS / STRETCH). |
| IsDarkModeActive | Return TRUE if dark-mode rendering is currently in effect. |
| IsHighContrastActive | Return TRUE if high-contrast rendering is currently in effect. |
| LoadGDIPlusImageFromFile | Load a PNG / TIFF / JPEG / GIF / EMF image from a file as a GDI+ image suitable for SFT_PICTURE_GDIPLUS. |
| LoadGDIPlusImageFromResource | Load a PNG / TIFF / JPEG / GIF / EMF image from an embedded application resource as a GDI+ image suitable for SFT_PICTURE_GDIPLUS. |
| QueryChar | Ask the control whether it would handle a given character as an accelerator. |
| Refresh | Invalidate and redraw the control. |
| RegisterApp | Register the SftButton window classes with a process. |
| SetControlInfo | Apply a SFTBUTTON_CONTROL structure to the button. |
| SetDarkMode | Select OFF / ON / AUTO dark mode for the button. |
| SetDesign | Switch the control into / out of design mode. |
| SetHighContrastMode | Select OFF / ON / AUTO high contrast for the button. |
| SetImageScaling | Select whether all images drawn by the button are scaled by currentDPI / 96 (default) or drawn at their native pixel size. |
| SetPixelScaling | Select whether caller-supplied pixel dimensions are interpreted as 96-DPI reference values (default) or used verbatim. |
| UnregisterApp | Unregister the SftButton window classes. |
| WndProc | The button control's window procedure. Exposed for advanced subclassing scenarios; applications do not call it directly. |
See Also Notifications | Windows Messages
