添加或删除菜单项或子菜单也是可能的。
从菜单条删除菜单稍微容易一些;只是把所有其他的菜单从旧的菜单条复制到新的菜单条,就完成了删除菜单。
Removing a menu from a menu bar is a little easier; just copy all of the other menus over from the old bar to the new one, and you're done.
我没有找到任何介绍通过向菜单条添加菜单从而从另一个菜单条删除菜单这样的特性的文档,因此可能不是有意这样。
I couldn't find any documentation of the "feature" whereby adding a menu to one bar removes it from another, so it might not be intentional.
应用推荐