You may wish to customise this page for your application, eg change the text for ID_FILE_NEW.
This page covers the core and print MFC ids. Please write or copy your own MFC database and OLE client pop-ups. So, please check that pop-ups are displayed for all the ids in your program.
To move the window, drag the title bar. Note: You can also move dialog boxes by dragging their title bars.
After the pointer changes to the four-headed arrow:
Shortcut
| Mouse: | Drag the size bars at the corners or edges of the window. |
Shortcut
| Mouse: | Click the minimize icon |
| Keys: | Alt+F9 |
Shortcut
| Mouse: | Click the maximize icon |
| Keys: | Ctrl+F10 enlarges a document window. |
Note: This command is unavailable if you maximize the window.
Shortcut
| Keys: | Ctrl+F7 |
Shortcut
| Keys: | Ctrl+F6 |
Shortcut
| Keys: | Shift+Ctrl+F6 |
Double-clicking a Control-menu box is the same as choosing the Close command.
Note: If you have multiple windows open for a single document, the Close command on the document Control menu closes only one window at a time. You can close all windows at once with the Close command on the File menu.
Shortcut
| Keys: | Ctrl+F4 closes a document window |
| Alt+F4 closes the main window or dialog box |
Shortcut
| Keys: | Ctrl+Esc |
Select the type of new file you want to create in the File New dialog box.
You can open an existing document with the Open command.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+N |
You may be able to open multiple documents at once. Use the Window menu to switch among the multiple open documents. See the Window 1, 2, ... command.
You can create new documents with the New command.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+O |
We suggest that you save changes to your document before you close it. If you close a document without saving, you lose all changes made since the last time you saved it. Before closing an untitled document, the Save As dialog box is displayed and it suggests that you name and save the document.
You can also close a document by using the Close icon on the document's window.
When you save a document for the first time, the Save As dialog box is displayed so you can name your document. If you want to change the name and directory of an existing document before you save it, choose the Save As command.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+S |
To save a document with its existing name and directory, use the Save command.
This command presents a Print Setup dialog box, where you specify the printer and its connection.
This command presents a Print dialog box, where you may specify the range of pages to be printed, the number of copies, the destination printer, and other printer setup options.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+P |
When you choose this command, the main window will be replaced with a print preview window in which one or two pages will be displayed in their printed format. The print preview toolbar offers you options to view either one or two pages at a time; move back and forth through the document; zoom in and out of pages; and initiate a print job.
This command presents a mail window with the active document attached to it. You may then fill out the To: field, Subject: field, etc., and add text to the body of the message if you wish. When you are finished, click the Send button to send the message.
Shortcut
| Keys: | Del |
Copying data to the clipboard replaces the contents previously stored there.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+C |
Cutting data to the clipboard replaces the contents previously stored there.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+C |
Shortcut
| Toolbar: | |
| Keys: | Ctrl+V |
The Find dialog box is displayed. Enter the text you want to find, select other search options and press Find Next.
To find more occurances later, select Edit+Find next or press F3.
The name of the command changes, depending on what the last action was. The Undo command changes to Can't Undo on the menu if you cannot reverse your last action.
Shortcut
| Toolbar: | |
| Keys: | Ctrl+Z or Alt+BACKSPACE |
You can open multiple document windows to display different parts or views of a document at the same time. If you change the contents in one window, all other windows containing the same document reflect those changes.
When you open a new window, it becomes the active window and is displayed on top of all other open windows.
If there is an open document window at the bottom of the main window, then some or all of the icons may not be visible because they will be underneath this document window.
You may then use the mouse or the keyboard arrows to move the splitter bars. When you are finished, press the mouse button or enter to leave the splitter bars in their new location.
Pressing Escape keeps the splitter bars in their original location.
When you choose the Toolbar's Context Help button, the mouse pointer will change to an arrow and question mark. Then click somewhere in the window, such as another Toolbar button. The Help topic will be shown for the item you clicked.
If a dialog box has a question mark in its title bar, then click on it to obtain similar context help for the dialog controls.
Shortcut
| Keys: | Shift+F1 |
A check mark appears next to the menu item when the Toolbar is displayed.
If you position the mouse over a Toolbar button, the name of the corresponding command appears as a yellow tool tip.
A check mark appears next to the menu item when the Status Bar is displayed.
The left area of the status bar describes actions of menu items as you use the arrow keys to navigate through menus. This area similarly shows messages that describe the actions of toolbar buttons as you depress them, before releasing them. If after viewing the description of the toolbar button command you wish not to execute the command, then release the mouse button while the pointer is off the toolbar button.
The right areas of the status bar usually indicate which keys are latched down.
If you position the mouse over a Toolbar button, the name of the corresponding command appears as a yellow tool tip.
The left area of the status bar describes actions of menu items as you use the arrow keys to navigate through menus. This area similarly shows messages that describe the actions of toolbar buttons as you depress them, before releasing them. If after viewing the description of the toolbar button command you wish not to execute the command, then release the mouse button while the pointer is off the toolbar button.
The right areas of the status bar usually indicate which keys are latched down.