我已经从MSDN中查到了有关的信息,原来是微软故意做的。:
In previous versions of Visual C++, ClassWizard helped you develop your MFC application. ClassWizard has been removed in Visual C++ 7.0. This topic will discuss where ClassWizard functionality can be accessed in Visual C++.
To add a member variable
In Class View, right-click the class to which you want to add a member variable. On the shortcut menu, click Add and then click Add Variable.
To add methods and properties to automation interfaces
In Class View, right-click an interface that supports automation. On the shortcut menu, click Add and then click Add Method or Add Property.
To add ActiveX events
In Class View for an ActiveX control project, right-click the class to which you want to add an event. On the shortcut menu, click Add and then click Add Event.
To add a handler (function) for a user-interface item
Select the item in Resource View. For example, select a button. Press F4 to open the Properties window and click the ControlEvents button. Select a message in the left column and click Add from the right column. The function will appear in Class View.