MFC rich edit control
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
When I add a rich edit control to my dialog and execute my dialog based application does not execute. Can someone explain what the problem could be? Thanks in advance. Dipeka.A.J
Always read what MSDN says: 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. Hope this helps MS