LVM_SETITEMTEXT
This 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 itempitem
Pointer to an LVITEM 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 address of a null-terminated string containing the new text; it can also be NULL.The pszText member can also be LPSTR_TEXTCALLBACK to indicate a callback item for which the parent window stores the text. In this case, the list view control sends the parent an LVN_GETDISPINFO notification message when it needs the text.
Return Values
If you send this message explicitly, TRUE indicates success. FALSE indicates failure.
Remarks
Related macro: ListView_SetItemText
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.