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.

image with no caption

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

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.