What is document-view architecture ? Give me one real time
example for SDI ?
Answers were Sorted based on User's Feedback
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 |
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 |
Why not virtual functions to handle messages?
Does the application have more than one object? If Yes, Briefly explain.
What is the difference between Synchronous sockets and asynchronous sockets?
What is the initial function to be called in MFC and what it will do
How do you change the properties for a tree view control that is part of the CTreeView class?
How to find the mouse entering an image?..while entering need to display next image...
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
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?
How to update all the views whenver document got updated ?
1) Enable or disable a Cancel button at run time?
What is the command routing in MFC framework?
Types of DLL's