Solved

VB5 MDI-Child How to...

Posted on 1997-11-16
4
367 Views
Last Modified: 2008-03-17
How to Keep my toolbar and menu in the MDI-Child without move it to the MDI-parent. Even if i set the NegotiateMenus to False i get the MDI-Child menus in the MDI-Parent.

/Janne
0
Comment
Question by:jannea
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
rantanen earned 50 total points
ID: 1441076
You can't, that behaviour is by design. NegotiateMenus has no effect on MDI-forms.
0
 
LVL 1

Author Comment

by:jannea
ID: 1441077
Thanks and OK !

But... isn´t it any other way to solve my problem.

/Janne
0
 
LVL 4

Expert Comment

by:rantanen
ID: 1441078
Kinda, you can give up MDI. Have one main form which contains menu and toolbar only for your common tasks (like VB itself has) and then add your "child" forms using e.g.

Dim X As New myForm
X.Show

Some things will be more tedious to do, but it can be done.
0
 
LVL 1

Author Comment

by:jannea
ID: 1441079
Thanks !

But it should have been much more easy if it should be possible, coz i got five exe charing the MDI-Parent and then lots of childs to work with so it get´s hard to remember all the menus i got in the main...

/Janne
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now