What is command routing in MFC

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in oops?

590


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

1998


Can private class be inherited?

611


How do you define social class?

594


Why is oop better than procedural?

597






Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2023


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1531


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1135


What is oops and its features?

575


What are the features of oop?

625


Why we use classes in oop?

569


What is advantage of inheritance?

679


what is different between oops and c++

1992


What is overriding in oops?

592


What is meant by oops concept?

600