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?
WinCE Graphic Resized but not drawn in new region
-
- Newbie
- Posts: 30
- Joined: Mon Feb 18, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |