I have a form where the user can hotkey from a textbox with either an ALT+S to a &Save button or an ALT+U to an &Undo button. I'm using the KeyDown event on the textbox to try to capture which combination is pressed. I know how to check the SHIFT parameter to determine that the ALT key was pressed, but where can I determine the letter pressed?
I am checking the KeyCode, but I always get an 18, the keycode for the ALT key, whether they press ALT+S or ALT+U.
Thanks!
I am checking the KeyCode, but I always get an 18, the keycode for the ALT key, whether they press ALT+S or ALT+U.
Thanks!