Set the text in a column other than the first column of the list box, as shown in Table 21.

Table 21. HRESULT SetSubItem

Parameter

Description

index

The index of the list item you want to modify

column

The index of the column you want to update; the first column is set with AddItem, columns two and following are set with this method

text

The string to show in the column

 

Related Topics

IListView Interface