WinXListView_SetItemText


WinXListView_SetItemText (hLV, iItem, iSubItem, STRING newText)

Sets the text for a listview item

Parameter Description
hLV The handle to the list view control
iItem The 0 based index of the item to set the text for
iSubItem The 1 based index of the sub item to set the text for, or 0 to change the item label
STRING newText The new text for the item

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'set the label of the first item
WinXListView_SetItemText (hLV, 0, 0, "This is the first item")

Related Links

List View Controls
WinXAddListView
WinXListView_GetItemText
WinXListView_Sort