ListView_ItemGetImage()

Examples


The ListView_ItemGetImage() function retrieves the item numbers of the images associated with the specified list view item.

Syntax

ListView_ItemGetImage(list_view_field, item_index {, overlay_image})

Parameters

list_view_field – The list view field containing the specified item.

item_index – A long integer specifying the list view item whose image item number is being retrieved.

overlay_image – A long integer indicating the overlay image. This value corresponds to the item number of an item image in the ListView Images window. If no overlay image is associated with the item, the LV_NOIMAGE constant is returned.

Return value

An integer indicating the image. This value corresponds to the item number of an item image listed in the ListView Images window. If no image is associated with the item, the LV_NOIMAGE constant is returned.


Documentation Feedback