Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LoadImageFromHBITMAP Method, SftPictureObject Object

Loads an image from a bitmap handle as a GDI+ image.

Syntax

VB.NETobject.LoadImageFromHBITMAP(ByVal hBitmap As Integer, ByVal hPalette As Integer)
VBobject.LoadImageFromHBITMAP(ByVal hBitmap As LONG_PTR, ByVal hPalette As LONG_PTR)
C#.NETvoid object.LoadImageFromHBITMAP(int hBitmap, int hPalette);
VC++HRESULT object->LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette);
CHRESULT object->raw_LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette);

object

A SftPictureObject object.

hBitmap

A bitmap handle, used to create a GDI+ image.

hPalette

A palette handle, used to create a GDI+ image. This value may be NULL/Nothing to omit the palette information.

Comments

The LoadImageFromHBITMAP method loads an image from a bitmap handle as a GDI+ image.

The image object is owned by the tree control and will be deleted when it is no longer used.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.