all groups > visual studio .net ide > october 2006 >
You're in the

visual studio .net ide

group:

docking addin window in the main ide window


docking addin window in the main ide window Jimatinsyst
10/27/2006 4:31:30 PM
visual studio .net ide: 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)
Re: docking addin window in the main ide window Carlos J. Quintero [VB MVP]
10/30/2006 12:00:00 AM
See my article:

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

--

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


"Jimatinsyst" <jimm@insystusa.com> escribió en el mensaje
news:1161991890.322524.209920@m7g2000cwm.googlegroups.com...
[quoted text, click to view]

Re: docking addin window in the main ide window Jimatinsyst
10/30/2006 9:27:12 AM
Thanks! I never would have guessed that setting

IsFloating = false and Linkable = false

would achieve that, but they do.
AddThis Social Bookmark Button