Graphisoft®

Dialog ManagerVersion: 2.0

ListView::GetItemImageIndex

Retrieves the image index of a list view item.

short GetItemImageIndex (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 index of a list view item.

Description

The method returns valid value, if the type of the item image is ListView::ImageIndex, i.e. the item image was assigned to this item with the SetItemImageIndex method. If the parameters are incorrect or the item image type is not ListView::ImageIndex, then it returns zero.