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

SDK Package: Tie into the save button on the main vs toolbar for a custom tool window

$
0
0

In my extension I use a custom tool window like its a document and open it multiple times with different content.  This works great but the only problem is the save button on the main vs tool bar does not know anything about my custom tool window.  When I have my custom tool window selected as the active window on the screen, the save button on the vs tool bar points to whatever the last document I was working on before I selected my custom tool window.  How do I tell visual studio that I have a document open(my custom tool window) and when the save is click to send me that event so I can handle it?

I think this is possible because I see the TFS extension do it.  When you add a new work item it displays a very custom window that has it's own save button but if you click save on the main vs tool bar it works too.

 

Viewing all articles
Browse latest Browse all 4410

Trending Articles



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