ListView_ItemGetSubitem()

Examples


The ListView_ItemGetSubitem() function retrieves a subitem from the specified list view item.

Syntax

ListView_ItemGetSubitem(list_view_field, item_index, subitem)

Parameters

list_view_field – The list view field containing the specified item.

item_index – A long integer specifying the list view item from which a subitem is being retrieved.

subitem – An integer specifying the subitem to retrieve.

Return value

A string containing the subitem.

Comments

You can use the ListView_ItemGetSubitem() function to retrieve the label of a list view item by specifying 0 or the constant LV_ITEM_LABEL as the subitem to retrieve.


Documentation Feedback