I have a complicated VS 2010 isolated shell project, using also the (WPF based) menus of VS. In this project I have a form designer which has winforms controls, hosted in wpf using WindowsFormsHost. I also use the VS propertygrid.
When the focus is in the propertygrid and I open the VS drop-down menu using the keyboard, navigation keys work on the propertygrid instead of on the menu - hitting the down arrow causes the selected property to change in the propertygrid, and not the menu item change. I expect the key strokes to go to the drop-down menu window, and not to other components.
When the focus is in the form designer and I open the drop-down menu using the keyboard, key strokes ae received both by the designer and the drop-down menu window. I expect the key strokes to go to the drop-down menu window only.
I expect that in the above scenarios, while a menu drop-down window is open, all keyboard events will go to the menu window and not to the winforms control. How can this be fixed?