Download Special Edition Using Visual C++ 6

Transcript
Special Edition Using Visual C++ 6 -- Appendix C -- The Visual Studio User Interface, Menus, and Toolbars
●
●
●
Enable Breakpoint. Enables a disabled breakpoint (breakpoints are discussed in Appendix D).
ClassWizard. Opens ClassWizard.
Properties. Opens the property sheet.
Not all the items are enabled at once--for example, Cut and Copy are only enabled when there is a
selection. Insert File into Project is enabled only when the file you're editing is not in the project you
have open. All these actions have menu and toolbar equivalents and are discussed more fully later in this
chapter.
Learning the Menu System
Developer Studio has many menus. Some commands are three or four levels deep under the menu
structure. In most cases, there are far quicker ways to accomplish the same task, but for a new user, the
menus are an easier way to learn because you can rely on reading the menu items as opposed to
memorizing shortcuts. There are nine menus on the Developer Studio menu bar, as follows:
● File. For actions related to entire files, such as opening, closing, and printing.
● Edit. For copying, cutting, pasting, searching, and moving about.
● View. For changing the appearance of Developer Studio, including toolbars and subwindows such
as the Workspace window.
● Insert. For adding files or components to your project.
● Project. For dealing with your entire project.
● Build. For compiling, linking, and debugging.
● Tools. For customizing the Developer Studio and accessing standalone utilities.
● Window. To change which window is maximized or has focus.
● Help. To use the InfoViewer system (not the usual online help).
The following section presents each Developer Studio menu in turn and mentions keyboard shortcuts and
toolbar buttons where they exist.
Using the File Menu
The File menu, shown in Figure C.18, collects most of the commands that affect entire files or the entire
project.
FIG. C.18 The File menu has actions for files like Open, Close, and Print.
File New (Ctrl+N) Choosing this menu item opens the New dialog box, shown in Figure C.19. This
tabbed dialog box is used to create new files, projects, workspaces, or other documents. The Project tab
is used to start AppWizard, discussed for the first time in Chapter 1, "Building Your First Windows
Application."
FIG. C.19 The New dialog box is used to create new files or workspaces.
This dialog box is an easy way to create a blank file, give it a name, and insert it into your project all in
http://www.pbs.mcp.com/ebooks/0789715392/apc/apc.htm (12 of 32) [7/29/1999 3:59:50 PM]