What is document-view architecture ? Give me one real time
example for SDI ?

Answers were Sorted based on User's Feedback



What is document-view architecture ? Give me one real time example for SDI ? ..

Answer / satheeshkedarisetti

MFC applications wizards by default creates an application
skeleton with a document class and view class. This
achetecture separates the data management into these two
classes. The document manages the data of multipule views.
view displays the data and manages the user interaction.

Notepad is simple example for SDI application.

Is This Answer Correct ?    23 Yes 2 No

What is document-view architecture ? Give me one real time example for SDI ? ..

Answer / jianhua wang

This document-view architecture is the core of the
application framework and is loosely based on the
Model/View/Controller classes from the Smalltalk world. In
simple terms, the document-view architecture separates data
from the user’s view of the data. One obvious benefit is
multiple views of the same data.

Is This Answer Correct ?    13 Yes 3 No

Post New Answer

More MFC Interview Questions

Why not virtual functions to handle messages?

5 Answers  


Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


How do you change the properties for a tree view control that is part of the CTreeView class?

1 Answers  


How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 Answers  


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


How to update all the views whenver document got updated ?

1 Answers  


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


What is the command routing in MFC framework?

3 Answers  


Types of DLL's

11 Answers   Invensys,


Categories