1.
设计插件
2.On the File menu, click New.
3. In the New dialog box, click the Projects tab.
4. Select Developer Studio Add-in Wizard.
5.In the Project Name box, enter a project name for the add-in, and then click OK.
6.In the Developer Studio Add-in Wizard — Step 1 of 1 dialog box, do the following:
插件名称和介绍
:Enter a name and description for your add-in.
插件的工具条
:If you want a toolbar for buttons that carry out commands added by the add-in, check the Provides a toolbar box.(
如果需要一个工具条来接受用户命令
,
那么就选中
Provides a toolbar
)
响应
IDE
事件If you want event-handling code for the Developer Studio objects, check the Responds to Developer Studio events box.
The wizard adds a code stub for each event. Then, you must complete the code for the events you want.
7. Click the Finish button.
In the New Project Information dialog box, note the files created by the wizard and the directory in which the project is stored. Then, click OK.
The wizard ends and Developer Studio displays the classes created for the add-in. For details about the files and classes produced by the wizard, see Understanding the Results of the Add-in Wizard.
8.Customize the add-in command or add new commands.(
不会的话就到这里看看)
The Developer Studio Add-in Wizard automatically creates the code to add one command to Developer Studio. However, if you need to customize this command or add additional commands, you must modify the code. For details, see Adding Commands to the Visual C++ Developer Studio.
9. Build the DLL for the add-in.
10.最后一步是
安装插件.