what are the design patterns of an MFC application
Answers were Sorted based on User's Feedback
Answer / nilavu
It uses main three patterns,
Singleton pattern - Application object(CWinApp & its
derived classes)
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 ? | 7 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 |
win 3.1 supports which type of multi tasking?
explain WM_PAINT message ?????
write About send message and post message
java is pure object oriented programming language why?
What is Function entry for DLL in win3.1?
What is Win32?
14 Answers AAA, Genpact, HCL, Wipro,
What are the COM components
2 Answers SunSoft Technologies,
how to Initialize contents of a dialog?
to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.
What is GDI object?
how radio button is active in dialog box?
what Message displayed when a window is destroyed