trichview.com

trichview.support




Re: Unicode error


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/11/2004 22:12:43


The cause of this problem: non-Unicode text where Unicode text must be.


The most probable this is because of using methods that CANNOT be used with

Unicode text:

- Add, AddFmt, AddNL, AddNLTag, AddTextBlockNL (use AddNLATag or AddNLWTag

instead)

- AddTextNL (use AddTextNLA or AddTextNLW instead);

- SetItemText (use SetItemTextA or SetItemTextW instead)

- SetItemTextEd (use SetItemTextEdA or SetItemTextEdW instead)

- SetCurrentItemText (use SetCurrentItemTextA or SetCurrentItemTextW

instead)


Another possible reason - changing Unicode property of text style when the

linked TRichView/TRichViewEdit is not empty (note: TRichViewEdit is not

empty initially, it contains one empty text item)



> I can't make it happen in other demo application. But in my application,

> it's easy to reoccur.






Powered by ABC Amber Outlook Express Converter