RichTextBox bug in rendering RTF tables

G

Guest

Dear community,

In a Desktop application, i had to display data using a document-style
layout. I decided tp create RTF templates, fill them at run-time and
display resulting RTF content with the RichTextBox.

Unfortunately, I have discovered a bug in the rendering of RTF tables. The
RichTextBox does not display multiline text in table cells. The text spans
over cell and table borders, overlapping other parts of the RTF. The same RTF
is displayed correctly in WordPad, Word and a number of free RTF
viewer/editors i have downloaded from the net (ex: Angel Writer)

The problem is caused by riched20.dll v3.0, the lib included in system32
directory of Win-based paltforms. This behaviour is fixed with riched20.dll
version v4.0, but v4.0 is not included in any SP/OS Fix. Furthermore, i have
no control over the dll loading, since it happens behind the VM.

A similar problem - different bug, but the same root cause and solution - is
discussed in "How to fix UndoBuffer being cleared bug in RichTextBox?" by
"Martin Müller" in "microsoft.public.dotnet.framework.windowsforms.controls".
The only working way to remove the bug is to provide a fixed RichEd20.dll to
the application in a location where it can be found (app directory).

Can I redistribute it? It no, does it qualify as a bug so that i can submit
a case and ask for a hotfix (my company is MS Gold Partner)?

Any assistance will be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top