Hi,
Does anyone know of documented differences using the Microsoft
Rich Textbox Control 6.0 (SP4) (RICHTX32.OCX V.6.00.8804) under WinNT 4
and Windows 2000?
Created an RTF file containing both an emdash and endash.
Created an identical VB app with VB6 with NT4 and Win2000. The app is simply a
form with a RichTextBox which loads the RTF file.
Under NT4, the RichTextBox properly displays the
emdash and endash,. Under Windows 2000, the emdash and endash are displayed
as hyphens.
If I set a breakpoint and display the .TextRTF property of the
RichTextBox, NT4 shows (in part):
\par Here is the EMDASH\emdash EMDASH
\par
\par Here is
the ENDASH\endash ENDASH
while the same breakpoint in Win2000 shows:
\par Here is the EMDASH-EMDASH
\par
\par Here is the
ENDASH-ENDASH
[in the RTF file, the actual emdash and endash characters
appear between the upercased words.]
So it seems that before the RichTextbox Control even "sees"
these characters, they are being transformed to hyphens - perhaps by
riched20.dll?
The versions of riched20.dll are 5.30.23.1200 (Version 3)
under NT4 and 5.30.23.1209 (Version 3) under Win2000.
Thanks,
Mike