what are the design patterns of an MFC application

Answers were Sorted based on User's Feedback



what are the design patterns of an MFC application..

Answer / sujeet savant

MFC Doc/View uses Observer Pattern

Is This Answer Correct ?    9 Yes 0 No

what are the design patterns of an MFC application..

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

what are the design patterns of an MFC application..

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

what are the design patterns of an MFC application..

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 are the design patterns of an MFC application..

Answer / samir

It is MVC(Model View Controller)pattern

Is This Answer Correct ?    4 Yes 9 No

Post New Answer

More Win32API Interview Questions

System call executable binary file into a process

2 Answers  


what is use of the createWindow object

4 Answers   HCL,


What is GDI object?

0 Answers  


how radio button is active in dialog box?

1 Answers  


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,






describe process of creating a new class of windows ??

1 Answers  


Message to limit the size of window

3 Answers  


what Message displayed when a window is destroyed

3 Answers  


About GDI object?

2 Answers  


In Win32 application can we use CString datatype?

4 Answers  


java is pure object oriented programming language why?

3 Answers   HCL,


explain WM_PAINT message ?????

0 Answers  


Categories