Document/View Architecture in VC++

Started by Kalyan, Jul 29, 2008, 04:50 PM

previous topic - next topic
Go Down


Document/View Architecture

All graphical MFC applications have to be based on MFC's document/view structure. The application defines one or more document templates (CDocTemplate subclass) that contain CRuntimeClass references the following three classes:

    * a document class (CDocument subclass),
    * a frame class (CFrameWnd subclass),
    * a view class (CView subclass).

The document class contains the internal representation of the application data. An instance is created by the framework for each new or opened document. The frame class describes the user interface of document windows of the application, typically multiple-document interface (MDI) frames. The view class shows a graphical representation of the document type. All classes as CObject subclasses.

A number of overridable methods in each of these classes allow the application to represent almost any kind of document. This basic structure is supported by a large number of support services, such as transparent printing and print preview support and OLE support.


Thanks for this information

Really its very useful for the Beginners
Thiruvasakamani Karnan

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Please leave this box empty:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: alt+s submit/post or alt+p preview
IT Acumens Web Designing Chennai | GinGly :: Build your Personal Website | CineBuzz :: Cinema News | My Kids Diary :: Gift your Kids Memories :: Book Website @ 349 Rs monthly
Copyright 2005 - 2021 :: IT Acumens :: All Rights Reserved. :: XML Sitemap
ITAcumens Discussion Forum with 2 lakhs post running for 15 years - Powered by IT Acumens Pro Dedicated Server

My Kids Diary