添加RichEdit后,对话框不能正常显示,只需在InitInstance()中调用AfxInitRichEdit()在运行时初始化RichEdit即可。
微软官方解释: 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 on
添加RichEdit后,对话框不能正常显示,只需在InitInstance()中调用AfxInitRichEdit()在运行时初始化RichEdit即可。
微软官方解释: 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 on