LVM_SETITEMTEXTLVM_SETITEMTEXT*
*Contents  *Index  *Topic Contents
*Previous Topic: LVM_SETITEMSTATE
*Next Topic: LVM_SETSELECTIONMARK

LVM_SETITEMTEXT


LVM_SETITEMTEXT 
    wParam = (WPARAM) (int) i; 
    lParam = (LPARAM) (LPLVITEM) pitem; 

Changes the text of a list view item or subitem. You can send this message explicitly or by using the ListView_SetItemText macro.

i
Index of the list view item.
pitem
Address of 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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.