MenuMask Enumeration

Specifies a mask type for the Mask field. Indicate the members to be retrieved or set (except for ApplyToSubmenus).

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum MenuMask

Remarks

Members

MaxHeight 1 Retrieves or sets the Max member.
Background 2 Retrieves or sets the BrushBack member.
HelpId 4 Retrieves or sets the ContextHelpID member.
MenuData 8 Retrieves or sets the MenuData member.
Style 16 Retrieves or sets the Style member.
ApplyToSubmenus -2,147,483,648 Settings apply to the menu and all of its submenus.

SetMenuItemInfo(IntPtr, UInt32, Boolean, MenuItemInfo) function uses this flag and GetMenuItemInfo(IntPtr, UInt32, Boolean, MenuItemInfo) function ignores this flag.

See Also