MDI app Menu Shortcut keys getting swallowed when form with WPF ElementHost is active

563 views Asked by At

I have a Winforms MDI app, and my newest form is developed as a WPF UserControl hosted by a System.Windows.Forms.Integration.ElementHost.

I have found that when the MDI child with the WPF content is active, it appears to be swallowing the keyboard shortcuts defined in the main menu of the application (CTRL-F, CTRL-P, F3, for example). Is there a way to tell the WPF usercontrol to pass these keyboard events back up to the Winforms app so the menus get their keyboard shortcuts again?

0

There are 0 answers