Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > display sequential images on a window form
 

display sequential images on a window form

Hi

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:

http://www.codeproject.com/cs/miscctrl/OAKListView.asp

Hope this helps u.

Thanx,

Ch.T.Gopi Kumar.

TilakGopi  Friday, March 30, 2007 8:06 AM
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.

http://img230.imageshack.us/img230/1483/untitledsk1.jpg
danisimo  Friday, March 30, 2007 1:22 PM
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().
danisimo  Tuesday, April 03, 2007 8:56 PM

You can use google to search for other answers

Custom Search

More Threads

• Screensaver mode
• who konws when dose sqlconn in ivdata.cs init?
• Not getting animals from my own server
• HELP - application blocks
• Work Offline
• Creating Progressbar control in gridview column
• Terrarium 1.2 Server Available
• 16 bit Windows Subsystem
• Label Question
• Server Running Okay... How to get animals?