locked
Changing tab icon for Visual Studio 2010 extension RRS feed

  • Question

  • I'm developing a Visual Studio Extension for VS 2010. I've managed to change the view menu icon with these instructions. However, this does not affect on the tab icon in Visual Studio IDE. How can I change the icon in the tab? Please check the attached picture to see what I mean.

     

    Monday, November 14, 2011 1:12 PM

Answers

  • If your toolwindow is implemented using the managed package framework classes (MPF), you should have a class derived from ToolWindowPane. That ToolWindowPane derived class has a constructor that typically sets the ToolWindowPane.BitmapResourceID and ToolWindowPane.BitmapIndex properties. These are the properties that correlate to that particular icon image.

    Sincerely,


    Ed Dore
    Monday, November 14, 2011 5:11 PM