Click to See Complete Forum and Search --> : How to have different menus on chilframes in MDI?


dineshsv
May 7th, 1999, 06:00 AM
Hi,

How can we make different menus to appear on different childframe in am MDI application?

Thank you,
Dinesh.

wind
May 17th, 1999, 01:46 AM
Using Diffent Doc template.

the beautiful story made me cry.

dineshsv
May 17th, 1999, 02:51 AM
Thank you!!! i will try the same and come ack to you.

Dinesh.

dineshsv
May 17th, 1999, 02:51 AM
Thank you!!! i will try the same and come back to you.

Dinesh.

JohnCz
May 20th, 1999, 01:39 PM
That is right. This will set different menus on the main frame window, but from what I understood a question was how to use menu in the child frame.
Using MFC or API it is impossible because MDI child window is always created with WS_CHILD style. That style keeps all frames contained in a client area of the main window.
I have spent considerable amount of time to accomplish that particular task and I succeeded. If you are interested, you can download demo from: http://users.snip.net/~johncz



John Cz