Rating:
None
Zafir Anjum (View Profile) August 6, 1998
The image for anly.
m_listctrl.InsertItem (LVIF_TEXT | LVIF_IMAGE, nRow, sItemText, 0, 0, nImage, NULL); The image can later be changed by calling the SetItem () function The CListCtrl class does not have a SetImage () function..
M_ListCtrl.SetItem (0, 0, LVIF_IMAGE, NULL, NIMAGE, 0, 0); To Remove The Image, Use a value of -1 for nimage, else Nimage Should Be a Zero based index of the image in the image list .