In vb.net i can handle keyboard events by handling mybase.keydown
This works if the user presses one button on the keyboard.
How can i handle many buttons at a time like CTRL-ALT-X??
Thanks
Printable View
In vb.net i can handle keyboard events by handling mybase.keydown
This works if the user presses one button on the keyboard.
How can i handle many buttons at a time like CTRL-ALT-X??
Thanks
The 'e' parameter has Boolean properties indicating the state of the Ctrl, Shift and Alt keys.VB Code:
If e.KeyCode = Keys.X AndAlso e.Control AndAlso e.Alt AndAlso Not e.Shift Then MessageBox.Show("You pressed Ctrl+Alt+X".) End If