Annotation tool with WinXP SP2 problem

TeeChart for ActiveX, COM and ASP
Post Reply
cook
Newbie
Newbie
Posts: 3
Joined: Thu Feb 26, 2004 5:00 am

Annotation tool with WinXP SP2 problem

Post by cook » Tue Dec 07, 2004 2:47 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 13, 2004 9:14 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply