[Message Deleted]
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I think the problem is when you add points to the array. Could you show the code where you are doing it? It is actually a
CPtrArray
, and it is supposed to take different objects each time you add to it. You shouldnew
aCPoint
etc variable and then add it to the array. this is this. -
Yes, OnDraw gets called in that case. Try to use your debugger to watch your data. Press F5 to start the debugger and F9 to put breakpoints. Try putting a brakpoint in the OnDraw function.
Cédric Moonen Software developer
Charting control