RE: Products supporting Unicode - windows richtext control

From: schererm@us.ibm.com
Date: Fri Oct 08 1999 - 12:19:37 EDT


hi, i do not work for microsoft, but i remember that there are two major
versions of the richtext control:

version 1, as used by nt4 wordpad, uses "ansi" strings, not unicode. this is in
riched32.dll.
version 2, as used by win2000 wordpad, uses unicode (or at least has such a
version) and adds some more features. this one is in riched20.dll.

now, richtext 2.0 is available on nt4, and possibly on win95/98 (internally
"ansi" there), and you can use it in your own apps.

have a look into msdn - "About Rich Edit Controls" (here in my vstudio 6 msdn:
mk:@MSITStore:E:\MSDN\winui.chm::/devdoc/live/pdui/richedit_9d2r.htm).

-->
"Windows NT: Windows NT version 4.0 and later ship both rich edit libraries.

Windows 95: Windows 95 ships only RICHED32.DLL. However, RICHED20.DLL is
compatible with Windows 95 and may be present if an application that uses rich
edit 2.0 has been installed on the system. "

(i believe that means that it is redistributable; it is most likely not the same
binary dll file as the one for nt.)

go to the sequentially next article -->

"Rich edit version 2.0 includes several new features, such as support for
Unicode and Far Eastern languages, multilevel Undo, and numerous user interface
enhancements.
- The name of the rich edit 1.0 window class is "RichEdit". Rich edit 2.0 has
both ANSI and Unicode window classes, "RichEdit20A" and "RichEdit20W",
respectively To specify the appropriate rich edit window class, use the
RICHEDIT_CLASS constant, which the RICHEDIT.H file defines depending on the
definition of the UNICODE compile flag.
..."

markus

Markus Scherer IBM Cupertino, CA schererm@us.ibm.com



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:53 EDT