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.
Parameters
-
wParam
-
Zero-based index of the list-view item.
-
lParam
-
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 code when it needs the text.
Return value
If you send this message explicitly, it returns TRUE if successful or FALSE otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Unicode and ANSI names |
LVM_SETITEMTEXTW (Unicode) and LVM_SETITEMTEXTA (ANSI) |
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for