473,765 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Menu Merge

Can someone explain what the properties for merging menus are and how they
work.

I have a MDI Parent form with file, edit ...etc etc

I also have a MDI Child Form with file edit & a menu that is not on the
Parent.

What i am wanting is for the Child File Menu to append to the Parent File
Menu and same with the edit ... but i wish to add a Child Menu which is not
on the parent menu to the parent menu when the form is loaded.

I have read about the merge order and m,erge type but my menus are gettin
more and more out of whack.

I know merge order accepts numbers to tell it where to put them ... but what
are the valid numbers?????? is it a "menu index" of sorts?

and Merge Type ...could someone please inform me , before me menu ends up on
YOUR computer!!!!

Thanks,
Jeff


Nov 20 '05 #1
1 2113
Hi Jeff,

|| 100,101,102, 103 for things I wanted on the file menu ...

When I was trying it out, I didn't bother with the items <under> File, I
just did it with parent and child File items themselves. The items that go
with these File menus will simply follow the lead of the main item.

|| Now .. On to generate more problems

LOL. Come back when you get into more mischief! :-)

Regards,
Fergus
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3556
by: Jim H | last post by:
I would like to have some MenuItems that are specific to my child form appear in the main menu. In the MSDN documentation: Menu merging is typically done to merge the menus of a Multiple Document Interface (MDI) parent form with those of its active MDI child form. This is performed automatically by the .NET Framework common language runtime. For example, if an MDI parent form contains a set of menus for handling files and your MDI child...
4
6972
by: jon morgan | last post by:
Hello, In an MDI application how can I prevent the CLR automatically merging a child windows' menu with that of the parent MDI form ? Thanks for any help Jon
1
1346
by: SStory | last post by:
I don't know what happened but a menu that used to merge well no longer does I have an MDI form The main MDI form has the main menu. In it is for example, Schedule menu with item Tasks Schedule name is mnuSchedule, set to MergeItems, 5 Tasks item name is mnuScheduleJobs, set to MergeItems, 0
2
1854
by: SamSpade | last post by:
I use to get popup events when I checked out the menu coding. That was a while ago. Something I did in the interim must have suppressed those events because I just noticed I don't get them any more. What could I do that will cause menu item Popup events not to be raised? I've been looking but really don't know where to look anymore. Second question. A control has a context menu.
1
1137
by: Ellis Yu | last post by:
Dear all, Anyone knows how to put the child form's menu items before mdi form's menu item? In my case, I've a mdi form with menu items "windows" and "system". In child forms, I've menu items "Action". I'm using the merge option "Add" now. As the result, I found the menu items order becoming "windows", "system", "action" and I wanted to put the "action" item before "windows" and "system. Please help. Thanks Best Rdgs
0
1085
by: Bernie Yaeger | last post by:
When I add a main menu to a child form in an mdi app, and use this code, the menu does not merge (I do not want it to merge with the parent's menu): Dim i As Integer For i = 0 To MainMenu1.MenuItems.Count - 1 MainMenu1.MenuItems(i).MergeType = MenuMerge.Remove Next
2
3234
by: Mahesh.V | last post by:
Hi All Am using VB.NET menu object. I have a MDI screen and menu is attached to the MDI screen. When I try to open a child window with in the MDI, the Child window's menu gets appended to the MDI menu. So now I see two menus in one menu bar. Usually in VB and in others when ever a child window is opened the menu of the child window will be replaced with the MDI menu and activating and deactivating the subsequent windows will hide and show...
0
858
by: **Developer** | last post by:
Been experimenting with menu items merging and it seems to me that all I need is Replace and Remove If the item is not already there Add, Merge and Replace all seem to add it. If it is already there, Replace and Merge seem to do the same thing (I normally wouldn't use Add if it might be there because I wouldn't want two). So why can't I always use Replace in place of Merge and Add? I figure there is a reason but haven't found it yet!
2
2194
by: active | last post by:
I need to force a MDI parent to refresh its menu because the child has changed its menu. Any suggestions on how to do that? thanks PS Sorry, I first posted this to windowsxp.general by mistake
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.