IMenuEditorService 接口

定义

提供对菜单编辑服务的访问。Provides access to the menu editing service.

public interface class IMenuEditorService
public interface IMenuEditorService
type IMenuEditorService = interface
Public Interface IMenuEditorService

注解

此服务的大多数实现由主机环境提供。Most of the implementation of this service is provided by the host environment.

方法

GetMenu()

获取当前菜单。Gets the current menu.

IsActive()

指示当前菜单是否处于活动状态。Indicates whether the current menu is active.

MessageFilter(Message)

允许编辑器服务截获 Win32 消息。Allows the editor service to intercept Win32 messages.

SetMenu(Menu)

设置指定菜单在窗体上是可见的。Sets the specified menu visible on the form.

SetSelection(MenuItem)

设置当前菜单的选定菜单项。Sets the selected menu item of the current menu.

适用于