CMyFontDialog - -| 回首页 | 2005年索引 | - -微软输入法2527不能输入汉字

添加控件(或变量)编译通过,不能显示对话框- -

                                      

我在添加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();

- 作者: jfw010 访问统计: 2005年08月5日, 星期五 11:38 加入博采

Trackback

你可以使用这个链接引用该篇文章 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]    永不受骗之装机绝招!!

回复

评论内容: