Difference between OnPaint and OnDraw
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Can any one please let me know the difference between OnPaint and OnDraw? Regards, KDevloper
OnDraw allows you to handle both painting and printing code in one place.It is available for CView. If u put u'r code there then you u put nothing in OnPaint nor in OnPrint, since both of them will your code in OnDraw. just test use IsPrinting (CDocument member ? I do'nt remmebre). Good luck.