473,466 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MergeOrder and MergeType

Hi,

I have a MDI form and an MDI child form both with menus.

The menu bar on the MDI form looks something like this:

MENUA MENUB MENUC MENUD

There is a single menu on the MDI child which I would like to insert in
between MENUB and MENUC on the MDI form.

Can anyone tell me how to achieve this? I've tried looking at the help for
the MergeOrder and MergeType properties - useless. I've also tried playing
around with them - futile.

If you are wondering, as it stands right now, all menu items on both forms
have a MergeOrder of 0 and the MergeType is the default (which I think is
Add).

Thanks in advance,

Andrew
Nov 20 '05 #1
1 1494
Hi,

I figured it out myself.

In case anyone is wondering:

I set the MergeOrder for the menus on the MDI form to 0, 1, 2, 3
respectively. And then set the MergeOrder for the menu on the MDI child to
1. And it works :-)

Andrew

--- Original Message ---

"Andrew McKendrick" <andréwém@cogéco.ca> wrote in message
news:eA**************@TK2MSFTNGP09.phx.gbl...
Hi,

I have a MDI form and an MDI child form both with menus.

The menu bar on the MDI form looks something like this:

MENUA MENUB MENUC MENUD

There is a single menu on the MDI child which I would like to insert in
between MENUB and MENUC on the MDI form.

Can anyone tell me how to achieve this? I've tried looking at the help for
the MergeOrder and MergeType properties - useless. I've also tried playing
around with them - futile.

If you are wondering, as it stands right now, all menu items on both forms
have a MergeOrder of 0 and the MergeType is the default (which I think is
Add).

Thanks in advance,

Andrew

Nov 20 '05 #2

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

Similar topics

3
by: Steven Smith | last post by:
the way I'm undersatnding the MSDN documentation when creating parent and child forms the main menu for the child form should not be displayed on the child form itself but instead be incorporated...
2
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...
0
by: **Developer** | last post by:
MenuItemPasteSpecial.MenuItems.Clear() jnk = MenuItemPasteSpecial.MenuItems.Add(New MenuItem("Locale", AddressOf HandlesMenuItemPasteSpecial_Click)) 'MenuItemPasteSpecial.MenuItems(jnk).MergeType...
0
by: **Developer** | last post by:
Sorry this is the second post but I had left the most important clue out of the first one. If I only have one MenuItem.Add it works OK! MenuItemPasteSpecial.MenuItems.Clear() jnk =...
2
by: **Developer** | last post by:
I open a form containing a MainMenu thusly: Dim FormTextEditor As New FormChildArtEditorTool FormTextEditor.MdiParent = Me FormTextEditor.Show()
2
by: academic | last post by:
If I look at the code I see Me.Menu = Me.MainMenuFormCaptureTool But if I look at the properties I do not see a property for Menu This is code from VS2003 What should I do to correct this.
12
by: cj | last post by:
I would like to have menu items a main menu bar that represent the days of the week. When you click on them they alternate from checked to unchecked. Right now I have 7 subs that look like this...
2
by: Fir5tSight | last post by:
Hi, I'm experimenting sample code created in Visual Studio 2002 (or 2003) in my Visual Studio 2005. However, I can't find the following in VS 2005: - MainMenu control in Toolbox; -...
3
by: active | last post by:
I have a mainmenu menuitem that contains a Recently Used Files menuitem If at design time I include a menuitem in the Recently Used Files menuitem collection it will display OK If I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.