ListView_SetItemText

The ListView_SetItemText macro changes the text of a list view item or subitem. You can use this macro or explicitly send the LVM_SETITEMTEXT message.

VOID WINAPI ListView_SetItemText(

HWND hwnd,  
int i,  
int iSubItem,  
LPCSTR pszText  
);  

Parameters

hwnd

Handle to the list view control.

i

Index of the list view item.

iSubItem

Index of the subitem or zero to set the item label.

pszText

Pointer to a null-terminated string that contains the new text. This parameter can be NULL.

Return Values

No return value.

See Also

LVM_SETITEMTEXT