ActiveX控件-扩展CListCtrl控件 [英] ActiveX control - Extending the CListCtrl control

查看:78
本文介绍了ActiveX控件-扩展CListCtrl控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将CListCtrl(C ++ MFC类)的继承类导出为ActiveX控件.可能吗?我读了很多与ActiveX相关的文章,但对同一个文章没什么用.

请帮助

Hi,

I want to export an inherited class from CListCtrl (C++ MFC class) as ActiveX control. Is it possible? I read so many articles related to ActiveX but nothing useful for the same.

Please help

推荐答案

肯定有可能,请查看http://msdn.microsoft.com/en-us/library/e73ffa52(v=vs.80).aspx [
it''s certainly possible, take a look at http://msdn.microsoft.com/en-us/library/e73ffa52(v=vs.80).aspx[^]

You''d need to bolt your listctrl into a COleControl and use a COleControlModule instead of a CWinApp


这篇关于ActiveX控件-扩展CListCtrl控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆