RICH EDIT 需要在CXXXApp类的InitInstance中添加
if(!AfxInitRichEdit( ))
{
return FALSE;
}
否则会有错,
if(!AfxInitRichEdit( ))
{
return FALSE;
}
否则会有错,
解决方案 »
- 如何去掉ctabctrl的边框?
- 讨论对话框之间的数据交换
- 请问怎么往一个字符串里加字?
- 怎样能禁止windows重画窗口非客户区,在拖动时系统画的标题兰总在我自画的标题拦后面闪啊闪的.
- 刚才在刷手机的BIN,上网时无意中翻到一个手机新闻,还是贴出来吧。
- 请问使用vc如何读取excel文件?(急)
- spy++中看到class name为#32770 (Dialog)用FindWindow时的类名应该用什么?
- 这里有拨号程序的例子么?
- "Subscript out of Range"Error!
- vs2005中如何将.obj文件和.h添加到工程中?
- vc开发数据库不如delphi?
- 如何把double类型转化成CString类型?
BOOL AFXAPI AfxInitRichEdit( );ResCall this function to initialize the rich edit control for the application. It will also initialize 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 via CRichEditCtrl, CRichEditView, or CRichEditDoc, you don't need to call this function.