The last available version of Windows RichEdit control is 4.1. However, the MFC framework still uses older versions of this control. For example, MFC 6.0 uses RichEdit control 1, which is very obsolete and even newer MFC versions that shipped with Visual Studio 2005-2010 use RichEdit control 2 or 3.
How to Overcome This?
In order to use RichEdit control 4.1 in CRichEditView MFC class, and enjoy its new features, we can do the following steps:
In the MFC application class (derived from CWinApp) load the MSFTEDIT.DLL library module, which contains RichEdit control 4.1.