Marcos Ruano

I am customizing VS2005 to get a 'simplified' environment by means of making invisible certain elements.

For example to hide away 'Server Explorer' I would do:

Window winServerExplorer;
winServerExplorer = (Window)dte.Windows.Item(EnvDTE.Constants.vsWindowKindServerExplorer);

winServerExplorer.Close(vsSaveChanges.vsSaveChangesNo);


In this case it works but, if I try to close 'Output Window' or 'ToolBox' the IDE crashes. I also am not able to get a reference to 'Error List' ToolWindowPane.

I would also like to customize the "New Project ..." dialog by inserting an image, adding some new project types and hinding some of the existing project types.

Would anybody be so kind of lightening my way

Best regards,

Marcos Ruano



Re: Visual Studio Extensibility Customizing ToolWindowPanes and Dialogs

Carlos Quintero MVP

You can not hide elements of the IDE provided by packages, the user could show them again anyway through the "View" menu. Why do you want to to that If you really need a barebone IDE I think that the SDK offers a way to get a IDE without packages where you add your own package and that's all.




Re: Visual Studio Extensibility Customizing ToolWindowPanes and Dialogs

Marcos Ruano

Carlos Quintero MVP wrote:
You can not hide elements of the IDE provided by packages, the user could show them again anyway through the "View" menu. Why do you want to to that If you really need a barebone IDE I think that the SDK offers a way to get a IDE without packages where you add your own package and that's all.


That is actually what would really suit for me. Do you know how to get that barebone IDE or where could I get extra information

Thanks for your answer.

--
Marcos Ruano




Re: Visual Studio Extensibility Customizing ToolWindowPanes and Dialogs

Carl Brochu MSFT

You should be able to close all instances of toolwindows as long as they are initialized and you are not trying to close them at startup. The approach you are using is correct. You can get additonnal toolwindow guid in the registry under

hklm\software\microsoft\visualstudio\8.0\toolwindows

The PPE Sku is languageless barebone IDE that is available through our premier partner integration contract. For more information, visit http://www.vsipmembers.com.

But PPE might not be something that you are looking for.