AfxEnableControlContainer()
2016-01-26 19:14
417 查看
要想在应用程序中使用ActiveX控件,必须使你的应用程序成为ActiveX控件包容器。ActiveX 控件包容器就是完全支持ActiveX控件,并能把控件组合进自己的窗口或对话框的父应用程序。利用MFC的AppWizard,你可以很方便地创建你的包容器程序。事实上,在用AppWizard创建新的应用程序时,你的应用程序就被缺省设置为控件包容器,即在第3步选中支持ActiveX Controls的复选框。如果你在创建过程中没有选择这项技术支持,以后也可以手动地加入这项支持。如果你手动添加这个函数,和APPWIZEARD添加效果是一样的
相关文章推荐
- RAID简介
- RAID配置
- cvpr读书笔记[3]:traincascade与AdaBoost的opencv实现框架
- 什么情况下使用large training data会非常有效
- AIDL 的理解&源码分析
- Installation Failed Invalid argument
- Windows Server 2012 磁盘管理之 简单卷、跨区卷、带区卷、镜像卷和RAID-5卷
- windows 下解决 Time_Wait 和 CLOSE_WAIT 方法
- 转换器的一些性能指标
- adb uninstall failure
- 杭电2674 N!Again
- 如何选择raid的技术种类
- 33.You want to create an ORD_DETAIL table to store details for an order placed having the following
- Detail Texture in Screen Space
- Xcode运行范例程序遇到的问题Command /bin/sh failed with exit code 1
- JBOSS启动报错Failed to start service jboss.web.deployment.default-host.
- git fatal: unable to auto-detect email address
- em算法
- error LNK2001: 无法解析的外部符号 "__declspec(dllimport) void __cdecl google::InstallFailureSignalHandle
- 【Boost】boost库中thread多线程详解7——wait与timed_wait简单例子