AfxInitRichEdit2
Call this function to initialize the rich edit control (version 2.0 and later) for the application.
BOOL AFXAPI AfxInitRichEdit2( );
Заметки
Call this function to load the RICHED20.DLL and initialize version 2.0 of the rich edit control. If you call the Create method of CRichEditCtrl, CRichEditView, or CRichEditDoc, you typically don't need to call this function, but in some cases it might be necessary.
Требования
Header: afxwin.h