Win98 上使用 RichEdit2 问题

peterleex 2006-09-14 06:17:14
对话框中加入了 RichEdit2 控件(MFC7.1自带的), Win98 环境下运行,界面不能 show 出来
Win98 上是 IE6, ComCtrl32.dll 已经升过级了.
请问是什么原因呢?
...全文
216 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
peterleex 2006-09-18
  • 打赏
  • 举报
回复
楼上的朋友:
如果没有更好的方法,我会采纳的 : )
thanks
菜牛 2006-09-18
  • 打赏
  • 举报
回复
98下面用1.0版的RichEdit
peterleex 2006-09-18
  • 打赏
  • 举报
回复
Dear palmax:
I know that.
I use Visual Studio .NET 2003 compiled.

Best Regards
peter
lixiaosan 2006-09-15
  • 打赏
  • 举报
回复
http://blog.csdn.net/lixiaosan/archive/2006/04/06/652795.aspx
peterleex 2006-09-15
  • 打赏
  • 举报
回复
没有朋友遇到过类似问题吗?
palmax 2006-09-15
  • 打赏
  • 举报
回复
AfxInitRichEdit loads RICHED32.DLL to initialize version 1.0 of the rich edit control. To use version 2.0 and 3.0 of the rich edit control, RICHED20.DLL needs to be loaded. This is accomplished with a call to AfxInitRichEdit2. If you have dialog resources with the rich edit control created prior to Visual C++ .NET, the rich edit controls are automatically version 1.0. Rich edit controls inserted using the Visual C++ .NET Resource Editor are version 2.0.

To update rich edit controls in existing Visual C++ applications to version 2.0, open the .RC file as text, change the class name of each rich edit control from "RICHEDIT" to "RichEdit20a". Then replace the call to AfxInitRichEdit with AfxInitRichEdit2.

This function also initializes the common controls library, if the library hasn't already been initialized for the process. If you use the rich edit control directly from your MFC application, you should call this function to assure that MFC has properly initialized the rich edit control runtime. If you use rich edit through CRichEditCtrl, CRichEditView, or CRichEditDoc, you don't need to call this function.
peterleex 2006-09-15
  • 打赏
  • 举报
回复
试 AfxInitRichEditXXX 也没用
CUG122032 2006-09-15
  • 打赏
  • 举报
回复
那试试AfxInitRichEdit3()


呵呵
peterleex 2006-09-15
  • 打赏
  • 举报
回复
: )
waterczh 2006-09-15
  • 打赏
  • 举报
回复
重装系统
2000/XP
peterleex 2006-09-15
  • 打赏
  • 举报
回复
我试过 AfxInitRichEdit2() ,也无效.
peterleex 2006-09-14
  • 打赏
  • 举报
回复
顶一个
peterleex 2006-09-14
  • 打赏
  • 举报
回复
AfxInitRichEdit() 调用已经加了
jixingzhong 2006-09-14
  • 打赏
  • 举报
回复
RichEdit 控件需要初始化的,
这个操作完成了么?

如果没有,
看一下 MSDN 中的 RichEdit 控件的 remark

15,976

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧