如何将MFC ActiveX控件添加到现有的Activex项目中 [英] How do I add MFC ActiveX control to an existing activex project
本文介绍了如何将MFC ActiveX控件添加到现有的Activex项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Visual Studio 2008中,我可以创建一个MFC Activex项目,它提供一个向导来创建单个Activex控件.我现在想在这个项目中创建新的控件.
In visual studio 2008 I can create an MFC activex project and it presents a wizard to create a single activex control. I now want to create new controls within this project.
我找不到任何办法.
推荐答案
我刚刚发现用于生成ActiveX控件代码的模板和脚本位于:
I just found that the templates and scripts to generate the ActiveX control code are located in :
Microsoft Visual Studio 9.0 \ VC \ VCWizards \ AppWiz \ MFC \ Control \
Microsoft Visual Studio 9.0\VC\VCWizards\AppWiz\MFC\Control\
可能有一些方法可以对其进行修改,以便可以将控件添加到现有项目中.
There is probably some way to modify that so that it could add a control to an existing project.
这篇关于如何将MFC ActiveX控件添加到现有的Activex项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文