IMenuButton interface (mmc.h)

The IMenuButton interface enables the user to add and manage menu buttons for a snap-in. MMC provides one menu bar per view; when a snap-in has the focus you can add one or more menu buttons for the view to this bar. These buttons are always added by appending them to the buttons already in the menu bar.

Inheritance

The IMenuButton interface inherits from the IUnknown interface. IMenuButton also has these types of members:

Methods

The IMenuButton interface has these methods.

 
IMenuButton::AddButton

The IMenuButton::AddButton method enables a user to add a button to the MMC menu bar for a particular view.
IMenuButton::SetButton

The IMenuButton::SetButton method enables a user to set the text attributes of a button in the menu bar that is changed.
IMenuButton::SetButtonState

The IMenuButton::SetButtonState method enables a user to change the state of a menu button.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h