MDI Menu merge not working
Has anyone had any success menu merging with the toolstripmenuitem in an MDI app?
There doesn't seem to be any way to merge without duplicating menu items in the child menu.
eg:
Parent:
File
->New
->-
->Exit
Child:
File
->Save
Results in (at best!):
->New
->-
->Exit
->Save
Plus, if there's multiple child windows, the inactive windows display the child's menu. When they regain focus the menu disappears, when they lose focus it reappears.
Thanks,
R.
I got the answer to this from MS.
The merge index is now the actual (zero based) index of the menu item in the parent's collection, not some arbitrary value as before.
The Target menu settings are irrelevant - the child menu settings always take effect.
From my example:
->New
->-
->ExitChild:
File -- Match
->Save -- Insert, 1
...works correctly.
Hi, guys! I think that your problem will be solved using MergeOrder of the menu items.
E.g. for your example you should to set merge orders like that:
Parent: MergeOrder
File
->New 5
->- 10
->Exit 15
Child: MergeOrder
File
->Save 6 (any from 6 to 9)
Results will be : resulting Order of Merge
->New 5
->Save 6
->- 10
->Exit 15
I hope the scheme is clear. These order numbers (5, 10 and 15) are for easy adding new menu items. The best step I think is about 10 positions.
Good luck!