I'm trying to find out methods on how to figure out which key was pressed. For Windows forms, the KeyDown event is what I am looking at, but there is a problem.
When a user presses the number 4 on the number pad, it can return either NumPad4 or Left. Normally, I could just listen for either, but I also want the Left Arrow to function differently.
Is there a way I can just tell which key was pressed without having to resort to Invokes or Visual Basic code?
When a user presses the number 4 on the number pad, it can return either NumPad4 or Left. Normally, I could just listen for either, but I also want the Left Arrow to function differently.
Is there a way I can just tell which key was pressed without having to resort to Invokes or Visual Basic code?
Comment