Drawing to a canvas from OnAfterDraw handler not working
Posted: Thu Dec 05, 2013 7:45 am
Drawing to a TeeChart canvas from an OnAfterDraw event does not work anymore when GetEnvironment()->InternalRepaint() is called. Any drawing done from OnAfterDraw event handler to a canvas during InternalRepaint call is displayed only after series data is changed. Forcing window repaint using Invalidate(), RedrawWindow() etc. does not work, series data has to be changed for anything drawn to the canvas to be displayed.
Example app included.
- Tero
Example app included.
- Tero