G
Guest
Hi,
In the event handlers of KeyUp and KeyDown events, the passed-in event
argument has two properties named KeyCode and KeyData. Could anybody tell me
the difference between the two ? The documentation is very vague on this.
And one more question. I'm creating a textbox to let users enter a shortcut
for an action in my application (e.g. it will display the text 'Ctrl - Shift
- A' when users press the corresponding key combination). So, which event(s)
should I catch and how to retrieve all keys the users press, which are not
necessarily simultaneous ?
Thanks in advance
Dotnetjunky
In the event handlers of KeyUp and KeyDown events, the passed-in event
argument has two properties named KeyCode and KeyData. Could anybody tell me
the difference between the two ? The documentation is very vague on this.
And one more question. I'm creating a textbox to let users enter a shortcut
for an action in my application (e.g. it will display the text 'Ctrl - Shift
- A' when users press the corresponding key combination). So, which event(s)
should I catch and how to retrieve all keys the users press, which are not
necessarily simultaneous ?
Thanks in advance
Dotnetjunky