Gary Depue's VSTA Blog

VSTA Integration experiences and discussion

Expanding or Collapsing all nodes in the Solution Explorer

Here's a post showing how to collapse and expand all of the items in the Solution Explorer.

 Your hosting application can provide similar features for the VSTA DTE to make things easier for your VSTA authors.

Get underlying DTE object from VSTADTEProviderClass

IDTEProvider dteProvider = (IDTEProvider)new VSTADTEProviderClass();

mDTE = (EnvDTE.DTE)dteProvider.GetDTE(mHostID, 0);

and then your application can alter and manipulate the VSTA IDE to your end user's advantage.

Published Wednesday, April 18, 2007 4:42 PM by Gary
Filed under:

Comments

  • No Comments
Anonymous comments are disabled