MenuStyle Enumeration

Specifies a menu style for the Style field.

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 MenuStyle

Remarks

Members

CheckOrBmp 67,108,864 The same space is reserved for the check mark and the bitmap. If the check mark is drawn, the bitmap is not. All checkmarks and bitmaps are aligned. Used for menus where some items use checkmarks and some use bitmaps.
NotifyByPos 134,217,728 Menu owner receives a "WM_MENUCOMMAND" message, instead of a "WM_COMMAND" message, when the user makes a selection. "MenuStyle.NOTIFYBYPOS" is a menu header style and has no effect when applied to individual sub menus.
AutoDismis 268,435,456 Menu automatically ends when mouse is outside the menu for approximately 10 seconds..
DragDrop 536,870,912 Menu items are OLE drop targets or drag sources. Menu owner receives "WM_MENUDRAG" and "WM_MENUGETOBJECT" messages.
Modeless 1,073,741,824 Menu is modeless; that is, there is no menu modal message loop while the menu is active.
NoCheck -2,147,483,648 No space is reserved to the left of an item for a check mark. The item can still be selected, but the check mark will not appear next to the item.

See Also