Simple question but i don't know the answer
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
In SDI application, what is the difference between ondraw(),onpaint() and on initdialog().Please explain or give a useful reference. Thanks. Be FaithFull To Your Work.
-
In SDI application, what is the difference between ondraw(),onpaint() and on initdialog().Please explain or give a useful reference. Thanks. Be FaithFull To Your Work.
OnDraw() function performs screen display, print preview etc.,. Its a member of CView class. OnPaint() function performs repaint the application window. Its a member of CWnd class. OnInitDialog() is used for performing some special initializations when the Dialog box is being initialized. Its a member of CDialog class. It is somewhat a constructor type only. Work hard and Bit of LUCK is KEY to SUCCESS