WinCE Graphic Resized but not drawn in new region

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Alain Bolduc
Newbie
Newbie
Posts: 30
Joined: Mon Feb 18, 2008 12:00 am

WinCE Graphic Resized but not drawn in new region

Post by Alain Bolduc » Mon Nov 03, 2008 8:58 pm

Hi,

I use your teechart with windows CE and when my application is running, I must be change the graphic size. The problem is: when I expand the graphic, the graphic isn’t drawn in the new region.

I look in my code and in your code, and I think I found the problem.
In your class “PocketChart” in the function “OnPaint”, you create the “buffer” bitmap with the right dimension, but, when the “OnResize” is called, the dimension of this buffer isn’t resized.
I think that the easiest solution is to put the buffer to null in the function “OnResize” and it’s will automatically recalculate in the OnPaint function…
What are you thinking about that? Do you have a better solution?

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

Post by Narcís » Tue Nov 04, 2008 10:45 am

Hi Qwerty,

Thanks for reporting. I could reproduce the issue here and added it (TF02013525) to the defect list to be fixed for next releases.
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