Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / September 2007

Tip: Looking for answers? Try searching our database.

Toolwindow to be Tabbed page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joh - 24 Sep 2007 16:14 GMT
I've created a toolbox window where I host a usercontrol. How to I set
the
toolbox window 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
Peter Macej - 24 Sep 2007 17:23 GMT
Play with IsFloating and Linkable properties. From my memory, add
following lines at the end:

  _windowToolWindow.IsFloating = False
  _windowToolWindow.Linkable = False

Signature

Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code

Joh - 24 Sep 2007 18:45 GMT
> Play with IsFloating and Linkable properties. From my memory, add
> following lines at the end:
[quoted text clipped - 7 lines]
> VSdocman - Commenter and generator of class documentation for C#, VB
> .NET and ASP .NET code

It worked! Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.