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

Can I uninstall visual c++?

809


How do I install microsoft visual c++ 2015?

780


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

832


What is visual c++ runtime error?

897


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

788


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

890


What is odbc in vc ++?

856


What is splitter window in vc++?

896


How do I uninstall vc++ 2015?

685


What is microsoft visual c++ 2005 redistributable?

792


How do I reinstall microsoft visual c++?

740


What is cmutex? How can we use it?

773


How do I change visual code font?

822


Is visual c++ a compiler?

768


Difference between getmessage, postmessage & peakmessage.

809