ListView items images

  • Thread starter Thread starter Diego F.
  • Start date Start date
D

Diego F.

Hi. I'm having a problem with listview controls.

I'm using a control that adds drag and drop functionality to a listview (I
get the control from codeproject).

Now I'm having problems when dragging items that have images. I first
thougth that an item has its image and I could drag the complete object, but
I see that in the second listview the image doesn't appear. It appears again
if I move it again to the first listview.

I tried this: ListView2.LargeImageList = ImageList1, when ImageList1 is the
ImageList from ListView1, and then the images appear, so I see the ImageList
is independent from the items.

I'm not sure about how to solve that, as I can open different files in both
listviews and I should move items from one to the other.

Any ideas please?
 
Back
Top