Allen
Sun Jul 18 10:45:53 CDT 2004
I believe listview1.FocusedItem would get that for you then.
On Fri, 25 Jun 2004 08:40:27 -0700, "Sylvain"
<Sylvain@discussions.microsoft.com> wrote:
>Thanks for the answer, but I would like to know the last selected item by the mouse and key "CTRL".
>
>Thanks a lot..
>
>"Allen Anderson" wrote:
>
>> ListViewItem item;
>> if ( listview1.SelectedItems.Count > 0 )
>> item = listview1.SelectedItems[ listview1.SelectedItems.Count-1 ];
>>
>> That should get you the last selected item.
>>
>> Allen Anderson
>>
http://www.glacialcomponents.com
>> mailto: allen@put my website url here.com
>>
>> On Wed, 23 Jun 2004 13:18:01 -0700, "sg"
>> <sg@discussions.microsoft.com> wrote:
>>
>> >Hi, i have un listview in a winform, multiselect = true. I would like to know which is the last item to select when it several item selected there.
>> >
>> >Best regards.
>> >Sylvain
>>
>>