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 visual c++ redistributable?

821


What is microsoft visual c++ used for?

748


How do I fix microsoft visual c++ 2015 setup failed?

802


What is vcredist_x86 exe?

786


Explain the advantages of cwinthread class.

763


What is cwinthread class? Explain its advantages.

748


What is vc++ redistributable?

937


What is dao in vc ++?

718


Is microsoft visual c++ a virus?

906


how to declare and populate an array of checkBoxes

907


What is microsoft visual c++ 2015 redistributable?

802


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

817


Where can I find microsoft visual c++ on my computer?

781


Do I need microsoft visual c++?

749


What is microsoft visual c++ runtime library error?

787