Ctrl+A short key in listview Box
-
How can i select all the items in list box by pressing Ctrl+A i wrote the code to accept keys but i don't know how to highlite all the item in list view.
if(e.Control == true & e.KeyCode == Keys.A)
{
listView1.....??????
}A S E L A
You can add to the SelectedItems collection.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
How can i select all the items in list box by pressing Ctrl+A i wrote the code to accept keys but i don't know how to highlite all the item in list view.
if(e.Control == true & e.KeyCode == Keys.A)
{
listView1.....??????
}A S E L A