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.
使用CRichEdit前需要调用AfxInitRichEdit();

最新推荐文章于 2021-11-19 10:27:52 发布
