This document is archived and information here might be outdated. Recommended version. |
The bitmap for the item at the specified index.
[Visual Basic .NET] Public Function get_ItemBitmap ( _ ByVal index As Integer _ ) As Integer
[C#] public int get_ItemBitmap ( int index );
[C++]
HRESULT get_ItemBitmap(
long index,
OLE_HANDLE* Bitmap
);
[C++]
Parameters index [in]
index is a parameter of type long Bitmap [out, retval]
Bitmap is a parameter of type OLE_HANDLE*
Index specifies the index of the current item on the multiItem.
When implementing IMultiItem to create a custom multiItem, use the ItemBitmap property to set the bitmaps to be used as the icons on the items in this multiItem.
You must use a Bitmap file (.bmp) for the ItemBitmap property; Icon files (.ico) are not supported. Bitmap files should be 16 X 16 pixels. The color of the upper left pixel of the bitmap is treated as the transparent color. For example, if the upper left pixel of the bitmap is red, then all of the red pixels in the bitmap will be converted to transparent.