[This is preliminary documentation and subject to change.]
The MMC_BUTTON_STATE enumeration defines the possible states of buttons available in the Microsoft Management Console. These values are used in the nState parameter of IConsoleVerb::GetVerbState, IConsoleVerb::SetVerbState, IToolbar::GetButtonState, and IToolbar::SetButtonState.
typedef enum _MMC_BUTTON_STATE
{
ENABLED, 0x1
CHECKED, 0x2
HIDDEN, 0x4
INDETERMINATE, 0x8
BUTTONPRESSED 0x10
} MMC_BUTTON_STATE;
Value | Meaning |
---|---|
ENABLED | The button accepts user input. A button that does not have this state does not accept user input and is grayed. |
CHECKED | The button has the CHECKED style and is being pressed. |
HIDDEN | The button is not visible and cannot receive user input. |
INDETERMINATE | The button is grayed. |
BUTTONPRESSED | The button is being pressed. |