默认安装的vc++6.0SP6会有RichEdit的bug修改方法
在mfc中使用工具栏里的RichEdit 控件时,应该在对话框构造函数中用
AfxInitRichEdit()或者 AfxInitRichEdit2()。
举例如下:BOOLCEncoderConnectApp::InitInstance()
{
AfxEnableControlContainer();
AfxInitRichEdit();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in ashared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFCstatically
#endif