如何做一个停靠菜单?
我想做一个停靠菜单,就象Delphi的IDE里的菜单那样。我用下面的
方法试了,能行,但是有问题。
1. Assume there is a main menu on the form, let me name it MainMenu
2. Set both MainMenu.AutoHotkeys and MainMenu.AutoLineReduction to
maManual
3. Put a toolbar on the coolbar, let me name it tbMenu
4. Set tbMenu.Menu to MainMenu
5. Clear the form's Menu property
问题在于如果这个窗体是MDIForm的,它的子窗体最大化后看不到
有上角的3个按钮,我就没法最小化它。请问应该如何做呢?谢谢!