Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
| Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2008, 06:12 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default Displaying MDI Child Form Menus with MDI Parent

Hi All,

I have a MDI form (with a menu) and a MDI Child form. Because I want to use a PopUp menu in the MDI Child form, I created a menu on it and I set the NegotiateMenus property to True.

The problem is: When I open the MDI child form, it *replaces* the menu on the MDI form!

The NegotiateMenus property seems to do nothing.

How can I solve this???
I only want my MDI menu, and a Popup menu on the MDI child form.
I'm using VB6 SP6.

I'll appreciate any help

Thank you,
Ashu

 
Old June 5th, 2008, 05:50 AM
Authorized User
 
Join Date: Sep 2003
Location: Delhi, Delhi, India.
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to prabodh_mishra
Default

You need to create all of your menus on either of the one form and uncheck the visible property of popup menus.


Prabodh
 
Old June 5th, 2008, 06:25 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

thh is wht i did.
i created all the menus in all the forms...n it was a real pain
i m sure thr must be some API to do tht

 
Old June 10th, 2008, 11:01 PM
Authorized User
 
Join Date: Sep 2003
Location: Delhi, Delhi, India.
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to prabodh_mishra
Default

You need to create all the menus in one form. MDI Form suits best for this.


Prabodh




Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling MDI child form from MDI parent panel LuxCoder Pro Visual Basic 2005 1 May 25th, 2007 12:20 PM
Controlling MDI child form from MDI parent panel LuxCoder VB.NET 2002/2003 Basics 7 April 11th, 2007 02:38 PM
Controlling MDI child form from MDI parent panel LuxCoder VB How-To 1 April 9th, 2007 03:25 PM
Controlling MDI child form from MDI parent panel LuxCoder Visual Basic 2005 Basics 2 April 9th, 2007 03:24 PM
strange problem while displaying child form in mdi avats General .NET 1 June 20th, 2005 08:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.