March 2003
Intermediate to advanced
896 pages
32h 35m
English
IMenuEditorService
This interface is implemented by the design-time menu editing
service. It provides methods to get the current menu
(GetMenu()) and determine whether the menu
IsActive(). The current menu can be changed with
the SetMenu() method, and the current menu item
can be set with SetSelection().
public interface IMenuEditorService { // Public Instance Methods public Menu GetMenu(); public bool IsActive(); public bool MessageFilter(ref System.Windows.Forms.Message m); public void SetMenu(System.Windows.Forms.Menu menu); public void SetSelection(System.Windows.Forms.MenuItem item); }