如何控制动态创建的项目的子菜单项?
How to control sub menu items in dynamically created contextmenustrip items?
左击将包含所剪切的子菜单项的菜单。
Left-click the menu that will contain the submenu item that you cut.
该事件仅在菜单项有要显示的子菜单项时发生。
This event only occurs when a menu item has submenu items to display.
应该隐藏和禁用菜单,并禁用该菜单中的每个项和子菜单项,因为仅通过隐藏不能防止他人使用快捷键访问菜单命令。
You should hide and disable the menu, and disable every item and submenu item in the menu, because hiding alone does not prevent access to a menu command via a shortcut key.
可以选择几个原语,然后通过选择一个菜单项把它们转移到子流中。
You can select several primitives, then select a menu option to move them into a subflow.
菜单管理器可包含菜单项、其它菜单管理器(用于子菜单)和分隔符。
A menu manager can contain items, other menu managers (for submenus), and separators.
可以禁用这些默认项,选择自己的菜单项,并且可以使用图像和子菜单。
You can turn these defaults off and select your own menu items, with images and submenus.
添加或删除菜单项或子菜单也是可能的。
确定指定的菜单项是否打开子菜单。
返回指定的菜单项的子菜单的激活处理。
Retrieves a handle to the submenu activated by the specified menu item.
点击一个菜单项将打开二级子菜单,显示可以切换的设置。
Tap a menu item will expand the submenu for that item, displaying the Settings that can be toggled.
下面的CSS样式删除了子菜单上的边框,设置活动的菜单项一直显示,并且设置非活动的菜单项,只在它们的父级菜单被鼠标经过时显示。
The following CSS removes the border on the second nav level, sets the active subnav to always display, and sets the inactive subnavs to display when their parents are hovered.
刚才我们只是在主菜单里面建立了一个菜单项,子菜单又该如何建立呢?很简单。
Now what about submenus? Right now any exec entry is going to be in the main menu. Its easy really.
当选择菜单项以显示mdi子窗口列表时,该列表显示为菜单项的子菜单。
When a menu item is selected to display an MDI child window list, the list is displayed as a submenu of the menu item.
此集合最常用于生成目录样式导航菜单;在这种导航菜单中,某个级别的菜单项不管是否具有子菜单,都会有相同的外观。
This collection is most often used to generate table of contents-style navigation menus where menu items at a certain level should have the same appearance, regardless of whether they have submenus.
快速资源管理器,你可以创建新的菜单项,子,分频器,指定菜单的位图和提示文字,和管理现有的菜单中添加的项目由其他程序。
With Fast Explorer you can create new menu items, submenus, dividers, specify menu bitmaps and hint text, and manage existing menu items added by other programs.
快速资源管理器,你可以创建新的菜单项,子,分频器,指定菜单的位图和提示文字,和管理现有的菜单中添加的项目由其他程序。
With Fast Explorer you can create new menu items, submenus, dividers, specify menu bitmaps and hint text, and manage existing menu items added by other programs.
应用推荐