CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 1999
    Posts
    16

    How to have different menus on chilframes in MDI?

    Hi,

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

    Thank you,
    Dinesh.


  2. #2
    Join Date
    May 1999
    Posts
    10

    Re: How to have different menus on chilframes in MDI?

    Using Diffent Doc template.

    the beautiful story made me cry.

  3. #3
    Join Date
    May 1999
    Posts
    16

    Re: How to have different menus on chilframes in MDI?

    Thank you!!! i will try the same and come ack to you.

    Dinesh.


  4. #4
    Join Date
    May 1999
    Posts
    16

    Re: How to have different menus on chilframes in MDI?

    Thank you!!! i will try the same and come back to you.

    Dinesh.


  5. #5
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: How to have different menus on chilframes in MDI?

    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
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured