jeudi 28 août 2014

Visual Studio 2010 WPF Addin Doesn't Show Tab Name Correctly


Vote count:

0




I've created an addin for visual studio 2010 in WPF. Everything looks good except that when docked, the tab name disappears. See below for screenshot.


Addin Screenshot


I found something on the MSDN forums stating the following




  1. Get corresponding IVsWindowFrame for mWindow using IVsUIShell.GetToolWindowEnum().

  2. Call IVsWindowFrame.SetProperty((int)__VSFPROPID.VSFPROPID_Caption, "my caption");



I've tried doing this but I can't get the IDE to recognize the method GetService in which to find the IVsUIShell. After that it gets worse.


Does anybody understand this instruction and if so, could you help me get there. It seems like I'm missing a reference, but everything else looks normal.


Thanks in Advance, Chris



asked 15 secs ago







Visual Studio 2010 WPF Addin Doesn't Show Tab Name Correctly

Aucun commentaire:

Enregistrer un commentaire