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


Please Help Members By Posting Answers For Below Questions

What is a copy constructor? What is the need for it?

579


hello sir i need movie editing and mixing software .where it is available and what is the site address

1730


Can I delete old microsoft visual c++?

553


What is visual c++ 2008 redistributable x64?

558


How do I change visual code font?

596






What is cwinthread class? Explain its advantages.

577


How do I uninstall vc++ 2015?

516


What is dao in vc ++?

547


Explain the significance of initapplication() in vc++.

659


What is cmutex?

587


Is visual c++ the same as c++?

576


Do I need the microsoft visual c++?

565


How do I create an mfc application in vc++?

620


What is cmutex? How can we use it?

575


How can we use cmutex?

567