how can I use Alt+Del to Delete listview item ...
Now I just select the row and press del key delete the item, But I want to delete item by press alt+del key. How it is possible Please help me....
What I have tried:
Private Sub ListView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ListView1.KeyDown
If e.KeyCode = Keys.Delete Then
Dim i As ListViewItem
i = ListView1.SelectedItems(0)
i.Remove()
End If
End Sub