Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu disappears

Status
Not open for further replies.

Glasgow

IS-IT--Management
Jul 30, 2001
1,669
GB
I have a project where a main menu (an MdiForm) contains a traditional menu bar, with a series of sub-menus, at the top of an otherwise blank window which is used as the background when calling other MDIChild forms. I have recently introduced PopUpMenus to some of these MDIChild forms. I have set the top level menu item for the PopUpMenu to be invisible in each of the MDIChild forms but as soon as one of these child forms is activated, the original menu bar on the main menu disappears. How can I keep the main menu bar visible while supporting these MDIChild forms with PopUpMenus?

Any help would be appreciated.
 
Don't set the menus on the child windows. Add them to the MDI parent, but make the top level invisible.
 
Thanks for the input. I have added them to the parent as you suggest - it just makes the code a little bit less than intuitive with calls going back and forth. However, I am pleased to have a solution at least. I did finally stumble across some documentation which confirmed that what I was trying to do was apparently not feasible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top