![]() |
|
#1
|
|||
|
|||
|
The contents of a TRichEdit control changes when running my app on Windows 2000. It works fine on Win95/98/NT.
Example: With an SGML file loaded into a TRichEdit, I turn off WordWrap. The control perfoms the wordwrap change and then unexplicably adds formatting codes to the file contents. Any hints why that's happening? Example of an SGML file (before changing WordWrap): [ ]> Same file (after changing WordWrap): {\rtf1\ansi\deff0{\fonttbl{\f0\fnil MS Sans Serif;}} {\colortbl;\red128\green0\blue128;} \viewkind4\uc1\pard\cf1\lang1033\f0\fs20 \par [ \par ]> \par \par |
|
#2
|
|||
|
|||
|
It would not be the first time Microsoft makes some modifications to the behaviour of a library. For example, everytime a new version of MDAC is released, patches to Delphi have to be applied.
I suggest you take a look at WPTools (www.wptools.com). It is entirely written in Delphi so you will never encounter surprises when switching platforms or operating systems (Kylix is nearly here). |
![]() |
| Thread Tools | |
| Display Modes | |
|
|