I've created a toolbox where I host a usercontrol. How to I set the
toolbox programmatically to be a Tabbed Page?
Dim programmableObject As Object
Dim guidstr As String = "{439bc5e4-6ec1-491f-adc9-fffe36776c2e}"
Dim windows2 As EnvDTE80.Windows2
Dim asm As System.Reflection.Assembly
asm = System.Reflection.Assembly.GetExecutingAssembly()
windows2 = CType(_applicationObject.Windows, EnvDTE80.Windows2)
_windowToolWindow =
windows2.CreateToolWindow2(_addInInstance, asm.Location,
"Addin.ToolWindowControl1", "Visual Basic .NET Tool window", guidstr,
programmableObject)
_windowToolWindow.Visible = True
Stevanich - 24 Sep 2007 15:29 GMT
Joh,
I think you mean Tool Window, not toolbox. You might try asking this
question on the 'microsoft.public.vstudio.extensibility' forum.
Hope this helps,
Steve - dotneticated.com
> I've created a toolbox where I host a usercontrol. How to I set the
> toolbox programmatically to be a Tabbed Page?
[quoted text clipped - 10 lines]
> programmableObject)
> _windowToolWindow.Visible = True