Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Desaströse Performance von TRichedit (https://www.delphipraxis.net/215812-desastroese-performance-von-trichedit.html)

Kas Ob. 12. Sep 2024 16:00

AW: Desaströse Performance von TRichedit
 
Zitat:

Zitat von himitsu (Beitrag 1540887)
Zitat:

Zitat von Kas Ob. (Beitrag 1540886)
What about this

And this is supposed to work in a Delphi since 2009?

SendMessage = SendMessageW = Unicode
Is your file also Unicode?

Yes after re-reading more, i think WM_SETTEXT with Delphi 5 or may be even Delphi 7 might not work, as it will fail to handle the BOM marker for UTF16, as the used RichEdit class is version 1.0 and it is
Zitat:

ANSI (single-byte character set (SBCS) and multibyte character set (MBCS)) editing
So will work if the class changed to version 2.0, yet i might be wrong though, all in all this need more digging.


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:37 Uhr.
Seite 3 von 3     123   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz