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 |
explain WM_PAINT message ?????
What is preemption ? context switching ?
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.
what is the function to repaint a window immediately?
Explain Win32 Program Execution flow?
What are the COM components
2 Answers SunSoft Technologies,
what is the stack size in win 32 program
how to Initialize contents of a dialog?
What is Win32?
14 Answers AAA, Genpact, HCL, Wipro,
how radio button is active in dialog box?
How will we unable and disable services in win 7 ?
What is preemption and context switching?