次の方法で共有


Overview: Working with Classes

Home Page (Working with Classes)

Visual C++ provides you with simple and powerful ways to work with your application classes. WizardBar and ClassView are tools that give you visual access to the classes and members in your project, including interfaces and dialog resources. ClassView enables you to directly edit interfaces and dispinterfaces. For classes that implement dialog resources, WizardBar and ClassView both enable you to jump easily back and forth between the Visual C++ Dialog Editor and your code.

As always, you can still use ClassWizard with Visual C++, and any of the many Visual C++ project Wizards to create your initial application classes.

How WizardBar and ClassView Compare

ClassView and WizardBar complement each other’s functionality in many ways. However, one distinction between them is that WizardBar provides immediate access to members of one class at a time, while ClassView displays all classes in all projects on the current workspace. Similarly, WizardBar displays, tracks, and acts on only the active project, while ClassView displays and acts on all projects on the workspace.

Unlike ClassView, WizardBar has the ability to track and display your current location in code. While you can use both ClassView and WizardBar to jump directly to code in the Source editor, once you’re there, the WizardBar continues to update its display as you move around within a file, or from file to file. This provides you with immediate information about your location, without having to scroll through the code itself. For more information, see WizardBar Context Tracking.

WizardBar also extends the functionality of the Dialog editor, making it easier to switch between designing and viewing source code for the dialog box. For more information, see .

You can perform the following tasks from ClassView, but not from WizardBar:

  • Adding and editing variables

  • Adding methods and properties to interfaces

  • Jumping to interface definitions, or to definitions of methods or properties within an interface

What do you want to know more about?

What do you want to do?