Introduction

Chapter 2 - A Quick Start Using the IDE

Visual C++ 6: The Complete Reference
Chris H. Pappas and William H. Murray, III
  Copyright 1998 The McGraw-Hill Companies

Insert Menu
The Insert menu accesses a list of commands for including new files, resources, or objects into your workspace (see Figure 2-5).
Figure 2-5: The Visual C++ Insert menu
New Class...
When you select this option, the IDE creates a new MFC, ATL, or generic class. The New Class dialog appears, in which you define the class name and the base class. It creates a header file and an implementation file for the class.
Resource...
This option allows you to add one of several resources to your workspace, including Accelerator, Bitmap, Cursor, Dialog, Icon, Menu, String Table, Toolbar, and Version identifier.
Resource Copy...
Visual C++ allows you to copy resources while changing the resource’s language, its property condition, or both. When you create or copy a resource with a different language or condition, this is displayed after the symbol name in the Project window. The Language identifies the language used for text in the resource. The Property Condition is a symbol that identifies a condition under which this copy of the resource is used.
  Note You can also copy from a template.
Into HTML
The Into HTML option allows you to insert resources to enhance a web page.
File As Text...
Usually used to add source code, the File As Text... option first asks you to name the new file, and then launches a clean edit window ready for text input. (This command requires an open edit window and inserts the file at the current position.)
New ATL Object...
The New ATL Object... allows you to add an Active Template Library class to your worskspace. ATL objects are a set of template-based C++ classes that allow you to easily create small, fast component object model (COM) objects. They provide special support for key COM features, including stock implementations of IUnknown, IClassFactory, IClassFactory2, and IDispatch; dual interfaces; standard COM enumerator interfaces; connection points; tear-off interfaces; and ActiveX controls. ATL code can be used to create single-threaded objects, apartment-model objects, free-threaded model objects, or both free-threaded and apartment-model objects.

Books24x7.com, Inc 2000 –  


Visual C++ 6(c) The Complete Reference
Visual Studio 6: The Complete Reference
ISBN: B00007FYGA
EAN: N/A
Year: 1998
Pages: 207

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net