Even i'm confused..

..thanks for your reply.
In simple way- let say i'm having 10 items in my list item. how i can find
the particular image has been selected in that list of 10 items.Items may
vary.., at runtime, i should iterate thru collection and get my list
item...how ??
i mean, is there any method or way to get my user selected item in my
dynamic listitem..?
thankz
Maheshkumar.R
Morten Wennevik said:
I'm afraid I don't understand.
Do you have a listView in the left pane of image thumbnails (icons), and
if one of the thumbnails are selected (clicked), display the full image in
the right pane?
If so, store a reference to the full image in the ListViewItem.Tag
property, and use this reference to display the full image.
{
{
Image imp=new Bitmap(bmp);
Image thumbnail = imp.GetThumbnailImage(300, 300, null, new Inept());
imageless.Images.Add(thumbnail);
listView2.Items.Add(fame.To(), I);
}
Here I want to handle the Click event of a pictures in the list
control,like explorer...if I click thumbnail privet off picture in left
pane, when I click it should display as full image in the right pane is my
requirements,
please guide
Maheshkumar.OR
Hi,
You can use the SelectedIndexChanged event with the
SelectedIndices/SelectedItems properties to find the selected items.
If you really want to use the Mouse position in a Click event, or need to
find out which subitem was clicked in detail view, you can use
Point p = listView1.PointToClient(Control.MousePosition);
ListViewItem l = listView1.GetItemAt(p.X, p.Y);
wrote:
hi groups,
I have placed an listview control, i want to iterate thru the control
and find the clicked event items.
listView2.Items.Add(fname.ToString(), i);
how i can perform the iteration to find the item clicked...? and its
item.
thankz--
Mähésh Kumär. R