Use the following key combinations in all development environment windows.
Note You can change or create keyboard shortcuts in Keyboard of the Environment options in the Options dialog box.
To | Press |
Activate the selected item and changes to edit mode. In an editor, displays the Object Browser. | F2 |
Close a menu or dialog box, cancel an operation in progress, or place focus in the current document window. | ESC |
Close a tool window. | SHIFT+ESC |
Close the current MDI child window. | CTRL+F4 |
Create a new file. | CTRL+SHIFT+N |
Create a new project. | CTRL+N |
Cycle through the MDI child windows one window at a time | CTRL+F6 or CTRL+TAB |
Display a system menu for an MDI child window. | ALT+HYPHEN (-) |
Display a system menu for the application window. | ALT+SPACEBAR |
Display the Add Item dialog box where you can add new or existing items to your project. | CTRL+D |
Display the Auto window and move the cursor into it. | CTRL+ALT+A |
Display the Call Stack window and move the cursor into it. | CTRL+ALT+C |
Display the Document Outline window and move the cursor into it. | CTRL+ALT+T |
Display the Find window. | CTRL+H |
Display the Find window. If there is no current Find criteria, put the word under your cursor in the Find box. | CTRL+F |
Display the Immediate window and move the cursor into it. Not available if you are in the Text Editor window. | CTRL+ALT+I |
Display the Locals window and move the cursor into it. | CTRL+ALT+L |
Display the Object Browser and move the cursor into from anywhere but an editor. | CTRL+ALT+B |
Display the Output window and move the cursor into it. | CTRL+ALT+O |
Display the Project Explorer and move the cursor into it. | CTRL+ALT+J |
Display the Properties window and move the cursor into it. | CTRL+ALT+P |
Display the Properties window. | F4 |
Display the Property Pages window. | SHIFT+F4 or ALT+ENTER |
Display the Running Documents window and move the cursor into it. | CTRL+ALT+D |
Display the shortcut menu. | SHIFT+F10 |
Display the Task List window and move the cursor into it. | CTRL+ALT+K |
Display the Thread window and move the cursor into it. | CTRL+ALT+H |
Display the Toolbox and move the cursor into it. | CTRL+ALT+X |
Display the Watch window and move the cursor into it. | CTRL+ALT+W |
Find next occurrence of specified text. | F3 |
Go to the next tool window. | ALT+F6 |
Go to the previous tool window. | ALT+SHIFT+F6 |
Move to the next MDI child window. | CTRL+SHIFT+F6 |
Move to the previous MDI child window. | CTRL+SHIFT+TAB |
Move to the next page of items in the current tab if there are more items than can be shown at one time. | PAGE UP |
Move to the previous page of items in the current tab if there are more items than can be shown at one time. | PAGE DOWN |
New File | CTRL+SHIFT+N |
Open a file. | CTRL+SHIFT+O |
Open a project. | CTRL+O |
Print all or part of the document. | CTRL+P |
Run an application using the debugger. | F5 |
Save all of the files, project, or documents. | CTRL+SHIFT+S |
Save the current document or selected item or items. | CTRL+S |
Select All. | CTRL+A |
Stop Break into a running an application. | CTRL+BREAK |
Use the following key combinations in all Windows-based applications:
To | Press |
Close the active application; if all windows are closed, close the development environment. | ALT+F4 |
Copy the selection to the Clipboard. | CTRL+C or CTRL+INS |
Cut the selection and move it to the Clipboard. | CTRL+X or SHIFT+DELETE |
Display documentation. | F1 |
Display the shortcut menu. | SHIFT+F10 |
Insert the Clipboard contents at the insertion point. | CTRL+V or SHIFT+INSERT |
Move between the last two active windows. | ALT+F6 |
Paste the Clipboard contents at the insertion point. | CTRL+V or SHIFT+INSERT |
Restore the previously undone action (Redo). | CTRL+SHIFT+Z or ALT+SHIFT+BACKSPACE |
Undo the last editing action in the current line. | CTRL+Z or ALT+BACKSPACE |