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
Loads a GDI+ image from a resource.
VB.NET | pGDIPlusImage = object.LoadGDIPlusImageFromResource(ByVal ResourceHandle As Integer, ByVal ResourceType As String, ByVal ResourceName As String) As Integer |
VB | pGDIPlusImage = object.LoadGDIPlusImageFromResource(ByVal ResourceHandle As LONG_PTR, ByVal ResourceType As String, ByVal ResourceName As String) As LONG_PTR |
C#.NET | int pGDIPlusImage = object.LoadGDIPlusImageFromResource(int ResourceHandle, string ResourceType, string ResourceName); |
VC++ | LONG_PTR pGDIPlusImage = object->LoadGDIPlusImageFromResource(LONG_PTR ResourceHandle, _bstr_t ResourceType, _bstr_t ResourceName); |
C | HRESULT object->raw_LoadGDIPlusImageFromResource(LONG_PTR ResourceHandle, BSTR ResourceType, BSTR ResourceName, LONG_PTR* pGDIPlusImage); |
object
ResourceHandle
The instance handle of the application or DLL containing the resource.
ResourceType
The resource type. Can be a string or an identifier using the MAKEINTRESOURCE macro.
ResourceName
The resource name. Can be a string or an identifier using the MAKEINTRESOURCE macro.
pGDIPlusImage
Returns a Gdiplus::Image pointer or NULL/Nothing if the function failed.
The LoadGDIPlusImageFromResource method loads a GDI+ image from a resource.
A GDI+ image created using LoadGDIPlusImage or LoadGDIPlusImageFromResource must be freed using DeleteGDIPlusImage (or the equivalent "delete Gdiplus::Image*", which is usually accessible to C++ applications only).
This method is mainly intended for applications written using a language that does not have direct access to GDI+ (such as VB6). Other languages usually have direct access to GDI+ (such as C++) or have other mechanisms (NETImageObject for .NET applications).
See Also SftTree Object | Object Hierarchy