Summary: If you get lost among your windows, try the Arrange command.
The Windows menu contains commands that activate, open, close, tile, arrange, and manipulate CodeView windows. There is also a command to view your program's output screen. A bullet appears to the left of the active window when you open this menu.
All the windows are numbered. You can quickly open or switch to a window by pressing ALT plus the window's number.
The following table summarizes the commands on the Windows menu and the corresponding shortcut keys:
Command | Shortcut Key | Purpose |
Restore | CTRL+F5 | Restores the active window to its size and position before it was maximized or minimized |
Move | CTRL+F7 | Moves the active window using the keyboard |
Size | CTRL+F8 | Sizes the active window using the keyboard |
Minimize | CTRL+F9 | Shrinks the active window to an icon |
Maximize | CTRL+F10 | Enlarges the active window to full screen |
Close | CTRL+F4 | Closes the active window |
Tile | SHIFT+F5 | Arranges all open windows to fill the entire window area |
Arrange | ALT+F5 | Arranges all open windows to an effective layout for debugging |
Help | ALT+0 | Opens or switches to the Help window |
Local | ALT+1 | Opens or switches to the Local window |
Watch | ALT+2 | Opens or switches to the Watch window |
Source 1 | ALT+3 | Opens or switches to Source window 1 |
Source 2 | ALT+4 | Opens or switches to Source window 2 |
Memory 1 | ALT+5 | Opens or switches to Memory window 1 |
Memory 2 | ALT+6 | Opens or switches to Memory window 2 |
Register | ALT+7 | Opens or switches to the Register window |
8087 | ALT+8 | Opens or switches to the 8087 window |
Command | ALT+9 | Opens or switches to the Command window |
View Output | F4 | Swaps the CodeView screen for the program's output screen |
You can open as many as two Source and two Memory windows. At least one Source window must be open at all times. To close a window, use the Close command (CTRL+F4).
Help, Local, Watch, Register, 8087, and Command Windows
CodeView can display one of each of these windows. The Register window has an additional shortcut key (F2) you can use to open or close it.
When you open the Help window, CodeView displays the last Help screen you viewed. If you have not yet viewed Help during the session, CodeView displays the top-level contents in the Microsoft Advisor.
To view your program's output screen, choose View Output or press ALT+F4. CodeView displays the output screen until you press a key.