如何将 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.
我找不到任何方法来做到这一点.
I can't find any way to do this.
推荐答案
我刚刚发现生成ActiveX控件代码的模板和脚本位于:
I just found that the templates and scripts to generate the ActiveX control code are located in :
Microsoft Visual Studio 9.0VCVCWizardsAppWizMFCControl
Microsoft Visual Studio 9.0VCVCWizardsAppWizMFCControl
可能有一些方法可以修改它,以便它可以向现有项目添加控件.
There is probably some way to modify that so that it could add a control to an existing project.
这篇关于如何将 MFC ActiveX 控件添加到现有的 ActiveX 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文