Working with Documents in Microsoft Visual Studio

  • 8/24/2011

04.03 Working with Documents on Multiple Monitors

WINDOWS

Alt,W, F (float); Alt,W,T (dock)

MENU

Window | Float; Window | Dock as Tabbed Document

COMMAND

Window.Float; Window.DockasTabbedDocument

VERSIONS

2010

CODE

vstipTool0004

This is one we have all been wanting for a long time: detachable document windows. You can now detach document windows and put them on another monitor! You have a couple of ways to do this.

The first way is to simply click and drag the tab for the document window out of the IDE.

httpatomoreillycomsourcemspimages899196.png

The second way is to go to Window | Float on the menu bar, as shown in the following illustration.

httpatomoreillycomsourcemspimages899198.png

What if you want to put the window back? No worries; just right-click the title bar of the document and choose Dock As Tabbed Document.

httpatomoreillycomsourcemspimages899200.png

If you want an alternative method, you can go the following route: Click and drag the document window by its title bar into the IDE.

The guide diamond appears in the IDE, as shown in the following illustration.

httpatomoreillycomsourcemspimages899202.png

Hold down the left mouse button, and move your cursor over the middle item in the guide diamond. You should see an outline of where the window will be docked.

httpatomoreillycomsourcemspimages899204.png

Release the mouse button, and it should dock where you want it to go.