Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

drop-down menu in VS isolated shell doesn't block sending keyboard events to other components

$
0
0


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?

Viewing all articles
Browse latest Browse all 4410

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>