What is command routing in MFC



What is command routing in MFC..

Answer / bob

Check the Command pattern in Gof books, MFC almost use it in
the same way:
SubWidget in the dialog will catch it firstly, it will
forward it to Parent window(the dialog) if *request is not
for it or no handler defined.

This procedure runs recursively, until one handle it or pass
it to application object. Application will omit unknown
command by default

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More OOPS Interview Questions

write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

0 Answers   Microsoft, TCS,


What is this interview room ? Is it a class or an object.

3 Answers   CybAge, NSN, Wipro,


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

0 Answers  


What is the main difference between C++ and Java

11 Answers   TCS,


polymorphism means?

6 Answers   BFL,






Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  


which is platform independent device used in computers

2 Answers  


what is graphics

0 Answers  


What are the OOPS concepts?

106 Answers   A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,


What is abstract class in oops?

0 Answers  


Can you inherit a private class?

0 Answers  


WAP to generate 2n+1 lines of the following pattern on the computer screen:

2 Answers  


Categories