Defines a menu item state options.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax [FlagsAttribute]
public enum MFS
Members
| Member name | Value | Description |
---|
| MF_GRAYED | 1 |
ndicates that the menu item is disabled and grayed so that it cannot be selected.
|
| MF_DISABLED | 2 |
Indicates that the menu item is disabled, but not grayed, so it cannot be selected.
|
| MFS_GRAYED | 3 |
Disables the menu item and grays it so that it cannot be selected.
|
| MFS_CHECKED | 8 |
Checks the menu item
|
| MFS_HILITE | 128 |
Highlights the menu item.
|
| MFS_ENABLED | 0 |
Enables the menu item so that it can be selected. This is the default state.
|
| MFS_UNCHECKED | 0 |
Unchecks the menu item.
|
| MFS_UNHILITE | 0 |
Removes the highlight from the menu item. This is the default state.
|
| MFS_DEFAULT | 4096 |
Specifies that the menu item is the default. A menu can contain only one default menu item, which is displayed in bold.
If you want to set that state to a menu item, you must remove the item that has the MFS_DEFAULT state, if any.
|
See Also