ListView_ItemGetStateImage()

Examples


The ListView_ItemGetStateImage() function retrieves the item number of the state image associated with the specified list view item.

Syntax

ListView_ItemGetStateImage(list_view_field, item_index)

Parameters

list_view_field – The list view field containing the specified item.

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

Return value

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


Documentation Feedback