Paritosh Agrawal
Paritosh Agrawal

Reputation: 284

what is the use of AfxInitRichEdit2(); in mfc application

I want to know what are the different scenarios where AfxInitRichEdit2() method can be called.

Upvotes: 1

Views: 1085

Answers (1)

xMRi
xMRi

Reputation: 15375

It just loads a specific DLL and with this DLL some window classes are registered into the current process.

In the past calling AfxInitRichEdit and AfxInitRichEdit2 was the way to distinguish between two existing RTF window classes (Version 1.0:RICHED32.DLL and version 2.0: RICHED20.DLL). Just read the MSDN about the Rich Edit window class.

Upvotes: 3

Related Questions