Solved

Separate MDI Child form MainMenus

Posted on 2004-09-27
6
426 Views
Last Modified: 2008-03-10
A WinForms VB.Net question...

How do I keep a Child form's MainMenu items separate (and attached to the Child form) rather than appending them to the Parent Form's MainMenu?
0
Comment
Question by:Sigh_Man
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 1

Author Comment

by:Sigh_Man
ID: 12159000
(I realise that this will only be feasible with a non-maximised Child form)
0
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 12159147
You realised correctly ;-),

But you might want to look at the mergetype and mergeorder properties.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsmenuitemclassmergetypetopic.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsmenuitemclassmergeordertopic.asp

These will allow you forinstance, to overrides the mdi parents menu with the child window if the child window is maximized

0
 
LVL 1

Author Comment

by:Sigh_Man
ID: 12159213
Thanks.

But is it possible to have the Child Form containing its own Menu?  The Menu item that I want to keep on the Child Form is relevant to the content of the Child Form only, so I want to keep the menu visible on the Child form rather than it moving up to join the Parent Form menu.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 125 total points
ID: 12159521
No, I don't think that that is possible. It's there by design
0
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 12159532
But you can always fake that by building the menu yourself.
0
 
LVL 1

Author Comment

by:Sigh_Man
ID: 12164308
Thanks mate.    :D
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question