Hi
I have a number of KeyDown event handlers, each for a certain key combo that is of interest. Among those are events for CTRL+S and CTRL+N for save and new action respectively.
These two events do not seem to be firing, and on CTRL+S nothing seems to happen, while on CTRL+N new IE window opens. Is there any way of intercepting these events and canceling out stuff like opening new window?
Thanks
For both events I do a check for
Keyboard.Modifiers == ModifierKeys.Control && e.Key == Key.N (or Key.S)
Any help, anyone?
Hi,
Certain key combinations are handled by the browser. And as far as i know, you can't override/intercept them. This has actually been limiting in some of the controls that we've added, such as the ribbon, which requires certain key combos to show things like KeyTips. In these cases, we simply had to move on to use different keys.
-SteveZ