what are the design patterns of an MFC application
Answers were Sorted based on User's Feedback
Answer / sujeet savant
MFC Doc/View uses Observer Pattern
|Is This Answer Correct ?||8 Yes||0 No|
Answer / nilavu
It uses main three patterns,
Singleton pattern - Application object(CWinApp & its
Bridge pattern - Serialization
Observer patten - Document/View Architecture
If we dig deeper into the MFC classes, it may use some
other patterns also.
|Is This Answer Correct ?||5 Yes||0 No|
Answer / babu
It uses the chain of responsibility as well. Whenever a
message is not handled by a window it is propogated to its
parent until it reaches default window procedure.
|Is This Answer Correct ?||1 Yes||0 No|
Answer / babu
Bridge pattern is used in the view class as well. If you
look at the OnDraw function, it is used to render the
output to either monitor or printer depending upon the
device context being used.
|Is This Answer Correct ?||0 Yes||0 No|
what Message displayed when a window is destroyed
What is GDI object?
explain WM_PAINT message ?????
What are the COM components
sql query for delete duplicate records in sql datadbase
What Message to limit the size of window?
Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.
Function entry for DLL in win3.1
In Win32 application can we use CString datatype?
describe process of creating a new class of windows ??
java is pure object oriented programming language why?
how to Initialize contents of a dialog?