I'm trying to view bitmap images (128x128) onto a window form in a sequential manner. From some tutorials I learned that ListView is better than ListBox simply because you can work easily using ListView and ImageList. I have looked at some tutorial on the msdn but i have no clue where to start. Can someone show me please what i must first do? thanks
danisimo Friday, March 30, 2007 5:16 AM
Hi,
Handle any one of following events:
listView1_SelectedIndexChanged
listView1_MouseClick
listView1_ItemSelectionChanged
Thanks & Best Regards,
Ch.T.Gopi Kumar.
TilakGopi Tuesday, April 03, 2007 5:17 AM
Hi,
U might have googled,
here is one link ,having the sample of list view with images:
I appreciate your help. I forgot to mention that I'm using C++ for window forms and that I want them in a horizontal view where I have a scrollbar to scroll these images. Look at the following link where I provided a image of how I want them.
I got it working finally!! but i would like to be able to click on a listview item (image) and assing an event handler to it. Does anyone know how i can do that.
danisimo Friday, March 30, 2007 3:24 PM
Hi,
Handle any one of following events:
listView1_SelectedIndexChanged
listView1_MouseClick
listView1_ItemSelectionChanged
Thanks & Best Regards,
Ch.T.Gopi Kumar.
TilakGopi Tuesday, April 03, 2007 5:17 AM
Thanks for your help. I understand what you told me to do but how would i check if a specific item is clicked on. Like is there a method that allows me to see which item was clicked on. for example something like isSelected() or isclicked().