Azurewrath

Hi all,

Anyone knows if it's possible to lock the windows solution explorer, toolbox, properties so when I disable auto hide, then don't change order all the time It's very confusing.




Thanks,
Aw


Re: Visual C# IDE Lock UI

TaylorMichaelL

I'm not quite sure what you mean by them changing order. If you disable auto-hide then one of two states is possible. You will either have a single window with each tool window as a tab. In this case the tabs are ordered based upon how you dropped them onto the window. You can change the tab order by dragging the tab.

The other state is where each tool window gets its own window. In this mode the windows will layer either on top of each other or side-by-side. In either case you can drag the windows around to order them the way you want.

What particular steps are needed to reproduce the problem you are having

Michael Taylor - 8/14/07

http://p3net.mvps.org





Re: Visual C# IDE Lock UI

Azurewrath

Thanks for replying.

Basically it happens if I open the properties window and then solution explorer for instance, and then when I auto hide them again say first solution explorer and then properties window, their vertical order change, and that confuses me.

Also could it be possible to make them auto hide automatically whenever I go into code





Thanks alot,
Aw




Re: Visual C# IDE Lock UI

TaylorMichaelL

I'm not sure I still understand the layout that you have. Nevertheless I can't really duplicate any situations where the tab order will change in a random manner. The order of the tabs when the windows are auto-hidden will match the order when the windows are not auto-hidden. If this is the scenario for you then you can disable auto-hide, rearrange the tabs and then auto-hide again. Provided you don't start auto-hiding some windows while undocking others the order should remain consistent.

Another scenario where the tab ordering will change is if you have, say, SE and PW not auto-hidden and they are docked one on top of the other (rather than as tabs in a single window). In this case if you auto-hide SE then it'll take the top spot. If you then auto-hide PW it'll take the lower spot. In this case the order in which the windows are initially auto-hidden controls the order in which the tabs appear. To alter the order you would have to disable auto-hide and reenable it to move a window from the top to the bottom.

As for having the tool windows auto-hide while in different states I don't believe this is possible without using a macro. To be clear though the IDE has a couple of different states available. One is editing code. Another is debug mode. Each of these states allows you to configure the tool windows separately. For example you can have SE open in code mode but closed in debug mode. Beyond that it is not possible, AFAIK, to have SE hidden while, say, a form is open but opened when a source file is opened. You can probably do it through a macro but managing, and persisting, the state will probably get ugly.

Michael Taylor - 8/14/07

http://p3net.mvps.org





Re: Visual C# IDE Lock UI

Azurewrath

Thanks for replying. I use it like this.

I guess that's what you describe with the 2nd paragraph. I don't see the benefit of this logic in how the panels work. It does confuse one to find the panels, because your brain knows them by location, else I need to look at each time what I am clicking on.




Thanks,
Aw




Re: Visual C# IDE Lock UI

TaylorMichaelL

As luck would have it I was reminded of the VS2005 add-in VSWindowManager which allows you to save and restore window layouts. It might provide you the options you are looking for.

http://www.codeplex.com/VSWindowManager

Michael Taylor - 8/16/07

http://p3net.mvps.org





Re: Visual C# IDE Lock UI

Azurewrath

Thanks alot! But it looks like this is too buggy, from what I can tell by the user comments. But this seems to be what I need.

But I don't understand why VS behaves like this, it is not for people's convenience.





Thanks,
Aw