ListView_SetItemTextListView_SetItemText*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_SetItemState
*Next Topic: ListView_SetSelectionMark

ListView_SetItemText


VOID WINAPI ListView_SetItemText(
    HWND hwnd, 		
    int i, 		
    int iSubItem, 		
    LPCSTR pszText		
);		

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

hwnd
Handle to the list view control.
i
Index of the list view item.
iSubItem
Index of the subitem. To set the item label, set iSubItem to zero.
pszText
Address of a null-terminated string that contains the new text.
This parameter can 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.
This parameter can be NULL.

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