|
-
December 6th, 2005, 12:01 AM
#1
what is Document view archietecture
what is Document view archietecture?
what are its uses?
-
December 6th, 2005, 12:10 AM
#2
Re: what is Document view archietecture
The parts of the MFC framework most visible both to the user and to you, the programmer, are the document and view. Most of your work in developing an application with the framework goes into writing your document and view classes. This article family describes:
The purposes of documents and views and how they interact in the framework.
What you must do to implement them.
TheCDocument class 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.
TheCView 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.
The document/view implementation in the class library separates the data itself from its display and from user operations on the data. All changes to the data are managed through the document class. The view calls this interface to access and update the data.
Documents, their associated views, and the frame windows that frame the views are created by a document template. The document template is responsible for creating and managing all documents of one document type.
If I Helped You, "Rate This Post"
Thanks
Guna
-
December 6th, 2005, 12:11 AM
#3
Re: what is Document view archietecture
 Originally Posted by ravirams
what is Document view archietecture?
what are its uses?
Well .. this will help u to know better about Document/View Architecture
check this:
Document/View Architecture
if helped .. dont forget to "Rate this post"
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
December 6th, 2005, 01:42 AM
#4
Re: what is Document view archietecture
 Originally Posted by ravirams
what is Document view archietecture?
what are its uses?
Follow the link to know more about Document View Architecture
http://msdn.microsoft.com/library/de...ure_topics.asp
Points to Remember:- A Document can have more then One View
But Each View Consist with One Document Only
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|