CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    32

    what is Document view archietecture

    what is Document view archietecture?
    what are its uses?

  2. #2
    Join Date
    Jun 2005
    Location
    Tirunelveli-Tamil Nadu-India
    Posts
    354

    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

  3. #3
    Join Date
    Jun 2005
    Location
    Chennai , India
    Posts
    1,375

    Thumbs up Re: what is Document view archietecture

    Quote 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!!

  4. #4
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    Re: what is Document view archietecture

    Quote 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
  •  





Click Here to Expand Forum to Full Width

Featured