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

Native equivalent for ICompletionBroker.IsCompletionActive

$
0
0

I'm developing a VSPackage using native C++ and am trying to trigger my action on TAB key press by adding command filter to every IVsTextView on its creation.

Everything works great so far, however I would like to handle situation when autocomplete intellisense window is active. For MEF extensions there is aICompletionBroker interface that has method IsCompletionActivewhich does excatly what I need. However I cannot find its native equivalent. Is there any way I can re-create its functionality using pure COM interfaces or some other trick that does the job? I was thinking about comparing TextViewHWND to the result of GetForegroundWindow but before I go that far I'd like to make sure that there is no official way of doing this.

Thanks in advance!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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