Judging by Office 2003, Microsoft have decided that the "proper" way to deal with menus and toolbars in MDI forms is to show everything in the parent. When Word, etc. is set to not display document icons in the taskbar, you can layout your child windows in the "old" fashion, but all menu and toolbar items are displayed in the parent window. Personally, I like the way many, if not all, applications used to do things, where menu and toolbar items are displayed in the child window unless the child is maximised. I tried to implement this recently and found it impossible to switch from one mode to the other. I must admit, I knew things were going to change markedly in .NET 2.0 so I didn't try too hard. I've been playing with beta 2 of VB.NET Express and found that while things were different, I still couldn't find an easy way to change from one mode to the other. The MenuStrip class inherits the AllowMerge property from the ToolStrip class, which causes menus to behave correctly at startup, but changing the value of the property mid-stream seems to have no effect.
My question is this:
Does anyone know a simple way to merge and unmerge MainMenu (.NET 1.1) objects and/or MenuStrip (.NET 2.0) objects on demand?
My question is this:
Does anyone know a simple way to merge and unmerge MainMenu (.NET 1.1) objects and/or MenuStrip (.NET 2.0) objects on demand?