我在添加microsoft flexgrid控件后,不能显示对话框(Project-〉Componet添加控件)
通过调试,显示
>>> If this dialog has OLE controls:
>>> AfxEnableControlContainer has not been called yet./////////
>>> You should call it in your app's InitInstance function.
The thread 0x6B0 has exited with code 0 (0x0).
The program 'E:\wang\font\Debug\Day7.exe' has exited with code 0 (0x0).
在初始化函数中添加上面所提示的函数就可以了。
BOOL CDay7App::InitInstance()
{
AfxEnableControlContainer();
你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=2491439
[2005-08-05] 高地价绝对卖不出低价房
[2005-08-05] 什么是LDAP?
[2005-08-05] 企业最危险的敌人
[2005-08-05] 阿尔卡特(Alcatel)-OT835U 手机数据线
[2005-08-05] 永不受骗之装机绝招!!