How do I merge menus from one form onto another?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I'm working on an application framework. The intent of the framework will be
to encapsulate many common application features. This will free the
developers to focus in on their particular application modules which will be
implemented on specific forms.

The challenge arises in attempting to impose a set of globally available
menus, which will be 'inherited' so to speak by each specific application
form. Now I haven't worked with MDI since the mid to late 90's but I was
surprised to discover that MDI children don't merge their menus onto the MDI
parent form. Rather, they unilaterally replace the parent menu with their
own. Bummer.

Any solutions?

(And don't tell me to move to .NET. For what the client is asking, believe
me I tried my best; but that's not my decision :-\ )

Thanks for your help!

- Joe Geretz -


.



Relevant Pages

  • Re: Weird Form Event Occurances
    ... It wasn't actually as hard to reproduce the problem as I thought... ... FormDemo - Another child form that represents the form with the problem. ... Run the application and you should get the Parent form containing the ... If it's any help, I've also run it in VS2005 and Framework 2.0, and there it ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MFC MDI replacement
    ... MFC is just a framework for MDI development. ... AFAIK WTL supports it. ... in WIn95 - you open a new top-level window for each document. ... I don't know of a framework supporting tabbed views yet. ...
    (microsoft.public.vc.language)
  • MDI Menu problems Framework 1.1
    ... The application has a MDI Main form with dockable forms and MDI Childs. ... When we rebuild the application in framework 1.1, we get some exceptions due to the menu merging, when the active mdichild has merged the menu with the mdi main and creating a new mdichild or when changing the active mdichild. ...
    (microsoft.public.dotnet.framework)
  • Re: My.Application.OpenForms
    ... application framework' checkbox is unchecked. ... There is very little clear info on building MDI applications as Microsoft ... presumably is not encouraging the MDI framework. ... One of the disadvantages of unchecking the checkbox is that when using ...
    (microsoft.public.dotnet.languages.vb)
  • Re: A solution for Nilling Child form pointers
    ... (just a suggesiton - may not work in MDI ...
    (borland.public.delphi.language.objectpascal)