Graphisoft®

Dialog ManagerVersion: 2.0

ListView::GetItemImage

Retrieves the image data of a list view item.

const void * GetItemImage (short listItem) const;

Parameters

listItem
1-based index of the list view item, use TopItem or BottomItem of Item type to specify the first or last item of the list view control.

Return Value

The image data of the given list view item.
The image data indicates:

imageType imageData
ListView::NoImage No image is defined for this item.
ListView::Icon
Macintosh only:
Icon, referenced with NSImage* cast to void*.
Windows only:
Icon, referenced with HICON cast to void*.
ListView::Picture
Macintosh only:
Picture, referenced with NSImage* cast to void*.
Windows only:
Picture, referenced with HBITMAP cast to void*.
Windows only:
ListView::DIBitmap

Device Independent Bitmap, referenced with BITMAPINFO* cast to void*.