Page 1 of 1

WinCE Graphic Resized but not drawn in new region

Posted: Mon Nov 03, 2008 8:58 pm
by 14048359
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?

Posted: Tue Nov 04, 2008 10:45 am
by narcis
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.