MMC_BUTTON_STATE enumeration (mmc.h)
The MMC_BUTTON_STATE enumeration defines the possible states of buttons available in MMC. These values are used in the nState parameter of IConsoleVerb::GetVerbState, IConsoleVerb::SetVerbState, IToolbar::GetButtonState, and IToolbar::SetButtonState.
Syntax
typedef enum _MMC_BUTTON_STATE {
ENABLED = 0x1,
CHECKED = 0x2,
HIDDEN = 0x4,
INDETERMINATE = 0x8,
BUTTONPRESSED = 0x10
} MMC_BUTTON_STATE;
Constants
ENABLED Value: 0x1 The button accepts user input. A button that does not have this state does not accept user input and appears dimmed. |
CHECKED Value: 0x2 The button has the CHECKED style and is being pressed. |
HIDDEN Value: 0x4 The button is not visible and cannot receive user input. |
INDETERMINATE Value: 0x8 The button appears dimmed. |
BUTTONPRESSED Value: 0x10 The button is being pressed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | mmc.h |