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

Handling 'Esc' in VSIX custom Tool Window

$
0
0

  Hello Folks,

I have implemented my own VSIX package with tool windows.

It all works fine, but in one of the windows sometimes I need to detect and handle pressing of 'ESC' key.

However the Esc causes from what I see the toolbar to lose focus instead. What can I do?

The Tool Window is WPF and contains WindowsFormsHost, that hosts another window. Normally the hosted window handless all the keys, and they all work fine - arrows etc. The only key that does not get detected by the hosted window is EXC, and it seems that it is intercepted by the Hosts :-(

Any ideas?


mitov


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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