what is the difference between the codes written in the
document class and view class
Answer Posted / mohanavel
The Document class supports objects used to store or
control your program's data and provides the basic
functionality for programmer-defined document classes. A
document represents the unit of data that the user
typically opens with the Open command on the File menu and
saves with the Save command on the File menu.
The View class provides the basic functionality for
programmer-defined view classes. A view is attached to a
document and acts as an intermediary between the document
and the user: the view renders an image of the document on
the screen and interprets user input as operations upon the
document. The view also renders the image for both printing
and print preview.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is microsoft visual c++ redistributable and do I need it?
What is the use of message map? Advantages of a message map.
What is microsoft visual c++ 2015 redistributable?
Do I need all the microsoft visual c++ redistributable?
Where can I find microsoft visual c++?
What is vcruntime?
Can I remove microsoft visual c++?
Where can I find microsoft visual c++ on my computer?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
How do I fix microsoft visual c++ 2015 setup failed?
Can I uninstall visual c++ 2005?
In which Way invoke context-sensitive help inside the editor?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is cwinthread class? Explain its advantages.
What is the use of microsoft visual c++ 2015 redistributable?