Creative2 Posted February 11, 2003 Posted February 11, 2003 Hi Guys, I tried to search for my questions here but didnt get any answer so I am posting 'em, I hope you guys wont mind. 1. Is it possible to add an image in the listview ? and do some action if user click on it if yes, how? (as sub item) 2. Is it possible to do some action based on clicking on a sub item of list view. (Different action than on clicking on item). if yes, how? what I am trying to do is add an image as subitem, and when user click on it, I will show the full size image. and if user click on some other subitem or item, some data will display. I will really appreciate your help. Quote
*Gurus* divil Posted February 12, 2003 *Gurus* Posted February 12, 2003 Unfortunately the answer to both your questions is no, not with the standard listview. However, I have seen articles and code examples online that manage to do one or both of these things, through a bit of hacking and owner drawing. Your best bet is to search for something like that. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Heiko Posted February 12, 2003 Posted February 12, 2003 You may perhaps want to use a grid instead? As far as I recall the grid allows images in each and every cell? Quote .nerd
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.