Returns the index into the image list or the index into the state image list for listviews that contain icons.
iIndex = object.GetItemImageIndex (liItem, fromStateImageList)
Variable | Description |
---|---|
iIndex | Index to the icon of the item in the image list or to the state of the icon in the state image list. INTEGER. |
liItem | Item in the listview. LISTITEM. |
fromStateImageList | If FALSE, then the GetItemImageIndex method returns the index to the icon of the item in the image list. If TRUE, then the GetItemImageIndex method returns the index to the state of the icon in the state image list. FALSE by default. BOOLEAN. |