Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MFC

Former Member
0 Likes
1,256

HI,

What is command routing in MFC

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
856

Hi,

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

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

3 REPLIES 3
Read only

Former Member
Read only

Former Member
Read only

Former Member
0 Likes
857

Hi,

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

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.