Click or drag to resize

CMF Enumeration

Optional flags that specify how a context or shortcut menu can be changed.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
[FlagsAttribute]
public enum CMF
Members
  Member nameValueDescription
CMF_NORMAL0 Indicates normal operation. A shortcut menu extension, namespace extension, or drag-and-drop handler can add all menu items.
CMF_DEFAULTONLY1 The user is activating the default action, typically by double-clicking. This flag provides a hint for the shortcut menu extension to add nothing if it does not modify the default item in the menu. A shortcut menu extension or drag-and-drop handler should not add any menu items if this value is specified. A namespace extension should at most add only the default item.
CMF_VERBSONLY2 The shortcut menu is that of a shortcut file (normally, a .lnk file). Shortcut menu handlers should ignore this value.
CMF_EXPLORE4 The Windows Explorer tree window is present.
CMF_NOVERBS8 This flag is set for items displayed in the Send To menu. Shortcut menu handlers should ignore this value.
CMF_CANRENAME16 The calling application supports renaming of items. A shortcut menu or drag-and-drop handler should ignore this flag. A namespace extension should add a Rename item to the menu if applicable.
CMF_NODEFAULT32 No item in the menu has been set as the default. A drag-and-drop handler should ignore this flag. A namespace extension should not set any of the menu items as the default.
CMF_INCLUDESTATIC64 This value is not available. Windows Server 2003 and Windows XP: A static menu is being constructed. Only the browser should use this flag; all other shortcut menu extensions should ignore it.
CMF_ITEMMENU128 The calling application is invoking a shortcut menu on an item in the view (as opposed to the background of the view). Windows Server 2003 and Windows XP: This value is not available.
CMF_EXTENDEDVERBS256 The calling application wants extended verbs. Normal verbs are displayed when the user right-clicks an object. To display extended verbs, the user must right-click while pressing the Shift key.
CMF_DISABLEDVERBS512 The calling application intends to invoke verbs that are disabled, such as legacy menus. Windows Server 2003 and Windows XP: This value is not available.
CMF_ASYNCVERBSTATE1024 The verb state can be evaluated asynchronously. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available.
CMF_OPTIMIZEFORINVOKE2048 Informs context menu handlers that do not support the invocation of a verb through a canonical verb name to bypass IContextMenu::QueryContextMenu in their implementation. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available.
CMF_SYNCCASCADEMENU4096 Populate submenus synchronously. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available.
CMF_DONOTPICKDEFAULT8192 When no verb is explicitly specified, do not use a default verb in its place. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available.
CMF_UNDOCUMENTED116384 Undocumented.
CMF_DVFILE65536 Undocumented.
CMF_ICM3131072 Undocumented.
CMF_RESERVED-65536 This flag is a bitmask that specifies all bits that should not be used. This is to be used only as a mask. Do not use this.
See Also