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)
© 2022 Softel vdm, Inc.