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 multilevel inheritance?

727


What is abstraction in oops with example?

778


What is meant by multiple inheritance?

742


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2172


Write a program to reverse a string using recursive function?

1797






What is the importance of oop?

617


What is byval and byref? What are differences between them?

1692


What are the 3 principles of oop?

621


program for insertion ,deletion,sorting in double link list

2285


What is encapsulation in oops?

541


What is polymorphism and types?

604


What is abstraction encapsulation?

663


What is pointer in oop?

541


What is polymorphism in oops?

562


What is difference between polymorphism and inheritance?

621