Page 1 of 1

Annotation tool with WinXP SP2 problem

Posted: Tue Dec 07, 2004 2:47 pm
by 9080963
Hi

I have multiline text annotation tool. To separate lines I used '\n\r' in my C++ code. It works fine on WinXP SP1, Win2k, but on WinXP SP2 the text is corrupted. Nonprintable characters are displayed, and all text is written on one line.

What might be the problem and what can I do?

Thanks

Posted: Mon Dec 13, 2004 9:14 am
by narcis
Hi cook,

I have tried it here with Win XP SP2 and it works ok using:

Code: Select all

m_Chart1.GetTools().GetItems(0).GetAsAnnotation().SetText("My Chart \n\r text \n\r text");
Could you please post a small example project that we can run "as-is" so we can reproduce the problem here? You can post your project at the steema.public.attachments available at news:\\www.steema.net newsgroups.