Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellPictureH Property, VirtualItem Object

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

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

Syntax

Put

VB.NETobject.CellPictureH(ByVal ColIndex As Short) = Handle As Integer
VBobject.CellPictureH(ByVal ColIndex As Integer) = Handle As OLE_HANDLE
C#.NETvoid object.set_CellPictureH(short ColIndex, int Handle);
VC++OLE_HANDLE object->CellPictureH[short ColIndex] = Handle;
void object->PutCellPictureH(short ColIndex, OLE_HANDLE Handle);
CHRESULT object->put_CellPictureH(short ColIndex, OLE_HANDLE Handle);

object

A VirtualItem object.

ColIndex

The zero-based column number. The combination of ColIndex and the VirtualItem event's RowIndex parameter describes an individual cell.

Handle

A bitmap handle. Defines the graphic displayed as the item's cell 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.Cell.Image.PictureH instead

The CellPictureH property defines the graphic displayed as the item's cell graphic.

The VirtualItem.CellPictureH property is used while handling a VirtualItem event to define the cell graphic for the cell described by ColIndex and the VirtualItem event's RowIndex parameter.

See Also VirtualItem Object | Object Hierarchy


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