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 / IDE / October 2006

Tip: Looking for answers? Try searching our database.

docking addin window in the main ide window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jimatinsyst - 28 Oct 2006 00:31 GMT
Hello, I'm trying to dock my addin tool window within the "main ide
window" (ie where code or designer documents normally live in tabs) but
I can't seem to make that happen.

I can use a wide variety of constants to obtain a window to link to...

Window2 w2 =
(Window2)_applicationObject.Windows.Item(Constants.vsWindowKindSolutionExplorer);

but if I try:

Window2 w2 =
(Window2)_applicationObject.Windows.Item(Constants.vsWindowKindMainWindow);

it errors out (value does not fall within the expected range).

is it possible to programatically dock addin tools in the main window?
if so, how?

(Visual Studio 2005)
Carlos J. Quintero [VB MVP] - 30 Oct 2006 10:41 GMT
See my article:

HOWTO: Understanding toolwindow states in Visual Studio
http://www.mztools.com/resources_vsnet_addins.htm

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hello, I'm trying to dock my addin tool window within the "main ide
> window" (ie where code or designer documents normally live in tabs) but
[quoted text clipped - 16 lines]
>
> (Visual Studio 2005)
Jimatinsyst - 30 Oct 2006 18:27 GMT
Thanks!  I never would have guessed that setting

IsFloating = false and Linkable = false

would achieve that, but they do.

Rate this thread:







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.