How do I make the arrow keys be accepted by a control (such as a button) and not handled automatically by the frameworks focus management?
By default, the arrow keys are not handled by a control’s key processing code, but instead are filtered out for focus management. Hence, the control’s KeyDown, KeyUp and KeyPressed events are not hit when you press an arrow. If you want your control to handle these keyboard events, you tell the framework by overriding your control’s IsInputKey method.
Related Questions
- When I clicked on the settings button within the CE-Secure control console, I was given a number of methods for automatically locking an unlocked Vault. Why is this necessary?
- How do I make the arrow keys be accepted by a control (such as a button) and not handled automatically by the frameworks focus management?
- Using ARROW KEYS, select the button next to "Shut down the computer?"