views:

147

answers:

1

I am trying to display images in a WinForms ListView that is in details view mode, but images are just not showing up.

I have added a SmallImageList (and a large one for good measure, added images to them, added my items to the ListView, but when I set the ImageIndex nothing happens. Images do not show up. I have also tried using the ImageKey. Edit: I have added columns to the ListView.

I feel like an idiot that I have to ask about this, but I must be doing something wrong. Any steps I am missing?

Thanx much.

+1  A: 

Have you added any columns to the listView? I followed your steps and the only extra thing to do was to add a column to the Columns collection of the listView.

kicsit
Yup, I have added 3 columns. My textual data shows up fine.
Jacques Bosch
did this response solve your problem? do you still need help?
Grammarian