From VSIP Diaries....

How is it going guys?? Well yet another simple question came my way recently. It was about how do you control what appears in the tool window tab name when it is tabbed to other tool windows. The Solution Explorer tool window , for example, shows long title "Solution Explorer - <some other stuff>" based on what you have selected in the hierarchy and "Solution Explorer" in the tab name. Unfortunately there are no Visual Studio APIs or properties to tweak. All you need to do is the title that you set should have a '-' (hyphen). The text appearing to the left of this hyphen is what shows up in the tab title. For example setting “MyToolWindow – Show Stuff.” as your tool window title would result in "MyToolWindow" as the tab text. Happy extending....

Thanks

Dr. eX

Comments