Application Development 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: 

MFC

Former Member
0 Kudos

HI,

What is command routing in MFC

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

Former Member

Former Member

Former Member
0 Kudos

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.