AfxInitRichEdit
全文如下:
Important If you are using a rich edit control in a dialog box (regardless whether your application is SDI, MDI, or dialog-based), you must call AfxInitRichEdit once before the dialog box is displayed. A typical place to call this function is in your program’s InitInstance member function. You do not need to call it for each time you display the dialog box, only the first time. You do not have to call AfxInitRichEdit if you are working with CRichEditView
全文如下:
Important If you are using a rich edit control in a dialog box (regardless whether your application is SDI, MDI, or dialog-based), you must call AfxInitRichEdit once before the dialog box is displayed. A typical place to call this function is in your program’s InitInstance member function. You do not need to call it for each time you display the dialog box, only the first time. You do not have to call AfxInitRichEdit if you are working with CRichEditView
解决方案 »
- mfc中listcontrol的item不能完全显示大于列宽的内容?
- 如何在标准Win32中使用创建Flash控件???
- 开发数据库用VC还是用C++BUILDER
- 为什么我的一个可以运行的对话框程序在简单拖入一个MS COMMUNICATION CONTROL后,再运行就出现不了以前的画面了(什么画面也不出现)?
- 类似netmeeting的白板程序
- 为什么是“ET”
- dll问题,怎么搞也搞不懂,300分求解!!!!!!!!!!!!!
- 一个EDIT BOX控件,怎么让它响应回车事件?(30分,不成敬意,请笑纳)
- 拿到计算机专业的工程硕士毕业证对于找工作是否有帮助?
- ADO中查找结果的放在recordset对象中,请问这种对象在内存中的存放结构是什么样的?以什么标志结束?
- dRead=ReadFile(hCom,buff,100,&dReadNum,NULL有关问题!
- 哪里可以下载新版Platform SDK?微软的在线安装慢得难以忍受!
if(!AfxInitRichEdit())
{
AfxMessageBox(IDP_RICHEDIT_INIT_FAILED);
return FALSE;
}
thank ahphone