VC7里怎么找不见ClassWizard?

rbws 2002-11-25 09:29:18
as above
...全文
26 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
masterz 2002-11-25
  • 打赏
  • 举报
回复
What happened to ClassWizard?
ClassWizard has been replaced with several new wizards that individually provide more control for adding member variables, message handlers, methods, properties, and events. See Where Are ClassWizard and WizardBar in Visual C++ .NET? for more information.
WizardBar
To add a new class

In Class View or Solution Explorer, right-click the project node. On the shortcut menu, click Add and then click Add Class.
To add a function to a class

In Class View, right-click the class. On the shortcut menu, click Add and then click Add Function.
To go to a definition

Use the Navigation Bar, which is at the top of the text editor window. You can turn the Navigation Bar off from the General tab of the C/C++ folder, which is in the Text Editor folder of the Options dialog box (Tools menu).
You can also use the Object Browser. See Searching for Symbols: Objects, Definitions and References for more information.

ClassWizard
For more information about wizards that add code to a project, see Adding Functionality with Code Wizards.

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.
For more information, see Adding a Member Variable.

To add a handler for a message

See Mapping Messages to Functions.
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.
For more information, see Adding a Method or Adding a 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.
For more information, see Adding an 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.
For more information, see Adding an MFC Message Handler.


7,540

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 VC.NET
社区管理员
  • VC.NET社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧