LVM_SETITEMTEXT
The
LVM_SETITEMTEXT message changes the text of a list view item or subitem. You
can send this message explicitly or by using the ListView_SetItemText macro.
LVM_SETITEMTEXT
wParam = (WPARAM) (int) i;
lParam = (LPARAM) (LV_ITEM FAR *) pitem;
Parameters
i
Index of the
list view item.
pitem
Pointer to an
LV_ITEM
structure. The iSubItem member is the index of the subitem, or it can be
zero to set the item label. The pszText member is the pointer to a
null-terminated string containing the new text; it can also be NULL.
Return Values
If you send
this message explicitly, it returns TRUE if successful or FALSE otherwise.
If you send
this message implicitly by using the ListView_SetItemText macro, there
is no return value.
See Also