I’m building a rich text string using RTF::Writer. I then pass this string to a rich edit control (using the Text or ReplaceSel methods).

Under XP, the control displays the formatted rich text correctly (fonts, colours etc). Under 98 the control displays the actual string.

As a get around I’m saving the file and loading it in with the Load method (everything is then ok). Clearly, this is not ideal.

Both boxes have the same version of perl and win::gui.

Am I doing something stupid? Or could this be a windows bug?

It's not a bug, it's new functionality. Earlier versions of Windows did not parse text strings for rtf content, they only parsed entire files (via Load).

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


Reply via email to