Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ

7. Windows Forms Keyboard Handling

7.1 How can I prevent a control from getting a particular keystroke?
7.2 How can I tell if an ALT, Shift or CTL key is pressed without catching an event?
7.3 How do I check the state of the virtual keys, Caps lock for example?
7.4 How can I simulate keyboard input in my application?
7.5 How can I catch keyboard messages on a application-wide basis?
7.6 How can I listen for certain keys at the Form level irrespective of which Control has the focus?

 

Windows forms FAQ