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
Free a GDI+ image previously returned by SftButton_LoadGDIPlusImageFromResource or SftButton_LoadGDIPlusImageFromFile.
C
void SftButton_FreeGDIPlusImageLoadedFromResource(LPVOID pGDIPlusImage); void SftButton_FreeGDIPlusImageLoadedFromFile(LPVOID pGDIPlusImage);
pGDIPlusImage
A pointer returned by the matching SftButton_LoadGDIPlusImage* function, or NULL (no-op).
A pointer obtained from LoadGDIPlusImageFromResource must be released through FreeGDIPlusImageLoadedFromResource; a pointer from LoadGDIPlusImageFromFile must be released through FreeGDIPlusImageLoadedFromFile. Passing a pointer through the wrong free routine leaks the intermediate buffer used during load.
Free the image only after every SftButton control referencing it has been destroyed or has had the corresponding SFT_PICTURE slot cleared (set the slot to a different SFT_PICTURE or to an empty SFT_PICTURE through SetControlInfo). The control reads lpImageObject on every paint and does not check whether the GDI+ object is still valid.
See Also LoadGDIPlusImageFromResource | LoadGDIPlusImageFromFile | SFT_PICTURE | GDI+
