Working with Classes Tasks
Visual Studio 6.0
http://msdn.microsoft.com/en-us/library/aa240996(v=vs.60) | Overview | Details
ClassView, ClassWizard, and WizardBar are tools designed to make it easy to update or add to classes in your project workspace. Such tasks include creating new classes, adding new member functions and variables, mapping messages to member functions, defining Windows message handlers, overriding MFC virtual functions, and adding Automation methods and properties. These tools also let you easily navigate or browse through the class structure.
What do you want to know more about?
-
Get an overview of ClassView or details on ClassView
-
Get an overview of WizardBar or details on WizardBar
-
Get an overview of ClassWizard or details on ClassWizard
- Get an overview of MFC or details on MFC
What do you want to do?
- Add a class to a project
- Add member functions to the selected class
- Add member variables to the selected class
- Override a virtual function
- Go to the definition of the class or member
- Go to the references to the class or member
- Display derived class or base class graphs
- Reuse a class by storing it in the Gallery for later use in other projects
- Set a breakpoint on a member function
- Navigate through code
- Create a DAO or ODBC recordset class and its associated data sources, tables, and columns
- Create a database form view (record view) associated with a recordset (for DAO or ODBC)
- Update a handler function to update the state of any user-interface objects (menus, toolbar buttons) associated with a command ID
- Filter the messages available for mapping in a class
- Add Automation properties and methods to a class
- Add properties to an ActiveX control
- Add methods to an ActiveX control
- Create a handler function for an ActiveX control event
- Interpret the special comment sections that ClassWizard writes into code
Importing and Selecting Classes
Mapping Messages Tasks
- Map messages to functions
- Define a message handler function for a button in a dialog box
- Define a member variable of your class for a control in a dialog box
- Delete a message handler
- Edit a message handler
- Define a message handler function for a reflected message
- Declare a variable based on a new control class
Dialog Data Exchange and Validation (DDX and DDV) Tasks
- Use dialog data exchange to move data between a dialog box and the class that represents it (either direction)
- Define a member variable to represent a dialog-box control (for DDX)
- Initialize a member variable representing a dialog-box control (for DDX)
- Use dialog data validation to validate user entries in dialog-box controls
- Customize dialog data exchange and validation
- Keep ClassWizard updated when code changes
- Delete a class
- Rename or move a class
- Rebuild the ClassWizard (.CLW) file
- Create a recordset class
- Bind the fields in a recordset to columns in a database table
- Create a database form (e.g. for data entry or record viewing)
- Map the controls on a form to recordset fields