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

Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 Answers   HCL, Infosys, ABC,

How can server communicate with more than one client

2 Answers   Invensys,

How to update windows title bar dynamically?

7 Answers   HCL,

Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,

Explain StretchBlt and BitBlt

1 Answers  

what do you mean by psychic window?

2 Answers   Patni,

Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,

How to handle RTTI in MFC ?

1 Answers  

Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);

2 Answers  

What is primitive and non-primitive application?

2 Answers   HCL,

What is Multithreading

1 Answers   Invensys,

What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers