Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LabelPictureH Property, VirtualItem Object

Defines the graphic displayed as the item's label graphic.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.LabelImage.PictureH instead

Syntax

Put

VB.NETobject.LabelPictureH = Handle As Integer
VBobject.LabelPictureH = Handle As OLE_HANDLE
C#.NETint object.LabelPictureH = Handle;
VC++OLE_HANDLE object->LabelPictureH = Handle;
void object->PutLabelPictureH(OLE_HANDLE Handle);
CHRESULT object->put_LabelPictureH(OLE_HANDLE Handle);

object

A VirtualItem object.

Handle

A bitmap handle. Defines the graphic displayed as the item's label graphic. Defines the graphic displayed as the item's item graphic. This bitmap handle has to remain valid until the tree control no longer uses it. The application has to destroy the bitmap handle once it is no longer needed. The top, left pixel of each graphic must contain the background color. This color will be replaced by the actual background when the graphic is displayed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.LabelImage.PictureH instead

The LabelPictureH property defines the graphic displayed as the item's label graphic.

The VirtualItem.LabelPictureH property is used while handling a VirtualItem event to define the item's label graphic. The item is described by the VirtualItem event's RowIndex parameter.

See Also VirtualItem 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.