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 button control uses GDI+ for additional image features not otherwise available:
GDI+ ships with all supported Windows versions (Windows 10 and above), so these features are always available.
SftButton provides four helpers that wrap GDI+ image creation and disposal so the application does not have to call GdiplusStartup or work with Gdiplus::Image directly. Each loader returns a Gdiplus::Image* as an opaque LPVOID that is plugged into a SFT_PICTURE slot of type SFT_PICTURE_GDIPLUS (typically through Sft_SetPictureGDIPlusImage).
| Function | Description |
|---|---|
| LoadGDIPlusImageFromResource | Load a PNG / TIFF / JPEG / GIF / EMF image from an embedded application resource. |
| LoadGDIPlusImageFromFile | Load the same image formats from a file on disk. |
| FreeGDIPlusImageLoadedFromResource | Free a pointer returned by LoadGDIPlusImageFromResource. |
| FreeGDIPlusImageLoadedFromFile | Free a pointer returned by LoadGDIPlusImageFromFile. |
The loader and the matching free routine must always be paired - resource-loaded images go through FreeGDIPlusImageLoadedFromResource, file-loaded images through FreeGDIPlusImageLoadedFromFile.
