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 |
1)How to change the size of a button at run time ?
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
What are the differences between MFC Exception macros and C++ exception keywords?
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.
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example
Given two processes, how can they share memory?
what is the updated verssion in vc++
how does conditionally close the Dialog Box ?
what are the feauters of CObject
What is the difference between the ASSERT and VERIFY macros?
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
How we can findout Memoryleaks, In what way it can be avoided