Working with Documents in Microsoft Visual Studio

  • 8/24/2011

04.05 Close the Current Document Window

DEFAULT

Ctrl+F4

VISUAL BASIC 6

Ctrl+F4

VISUAL C# 2005

Ctrl+F4

VISUAL C++ 2

Ctrl+F4

VISUAL C++ 6

Ctrl+F4

VISUAL STUDIO 6

Ctrl+F4

WINDOWS

Alt,F, C

MENU

File | Close

COMMAND

Window.CloseDocumentWindow; File.Close

VERSIONS

2005, 2008, 2010

CODE

vstipTool0014

You can close the current document window from the keyboard. Just make sure you are in the document you want to close.

httpatomoreillycomsourcemspimages899208.png

Then press Ctrl+F4. The current document closes, and it prompts you to save changes if you haven’t already.