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

How to Override Toolwindow TabDeactivating and Hiding functionality

$
0
0

I am implementing a multi toolwindow console for a telnet application. The toolwindow contains a textbox to act as a console.

Each time I tab to other toolwindow such as outputwindow and then come back to my custom toolwindow the textbox control seems to get loaded again and it is slow.

I got to know about the IvsWindowFrameNotify interface Onshow methods and confirmed that __FRAMESHOW.FRAMESHOW_TabDeactivated and __FRAMESHOW.FRAMESHOW_WinHidden are called when  a tab out to other toolwindow and __FRAMESHOW.FRAMESHOW_TabActivated and __FRAMESHOW.FRAMESHOW_WinShown are getting called when I tab to my custom toolwindow and bring that into focus.

This seems to be the default behaviour with tabbed toolwindows but this is making my custom toolwindow and the control inside to load slower.

How do I override the tabdeactived and hidden functionlaity when i tab out from the toolwindow so taht these does not happen.

Any help is greatly appreciated.

Thanks,
Datta


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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