Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to change the background color of the Solution Explorer in Visual Studio 2012? [duplicate]

In Visual Studio 2010 I can use SendMessage to change the background color of the Solution Explorer just like in this question. Since Visual Studio 2012 uses WPF this method is no longer working for me. I can do this with other windows such as Class View, Data Sources, and Server Explorer but the Solution Explorer doesn't show up in Spy++.

I've looked through the SDK but haven't found anything that will allow me to change the style of this window. Using DTE2 I'm able to get a reference to the Solution Explorer but this looks to be for the hierarchy items only and not the actual tree view control or window pane.

I came across an example showing how to change the text editor colors using the IWpfTextViewCreationListener interface but as the name suggests it only works with the text editor. Is there a way to do the same thing but for other windows such as the Solution Explorer?

like image 313
Brian Surowiec Avatar asked Nov 03 '22 17:11

Brian Surowiec


1 Answers

Check out this question: How do you change the background colour for Solution Explorer in Visual Studio 2012?

Use this Utility

http://bchavez.bitarmory.com/archive/2012/08/27/modify-visual-studio-2012-dark-and-light-themes.aspx

Use Category TreeView

like image 52
sasha_gud Avatar answered Nov 12 '22 17:11

sasha_gud