OLECMDF enumeration (docobj.h)
Specifies the type of support provided by an object for the command specified in an OLECMD structure.
Syntax
typedef enum OLECMDF {
OLECMDF_SUPPORTED = 0x1,
OLECMDF_ENABLED = 0x2,
OLECMDF_LATCHED = 0x4,
OLECMDF_NINCHED = 0x8,
OLECMDF_INVISIBLE = 0x10,
OLECMDF_DEFHIDEONCTXTMENU = 0x20
} ;
Constants
OLECMDF_SUPPORTED Value: 0x1 The command is supported by this object. |
OLECMDF_ENABLED Value: 0x2 The command is available and enabled. |
OLECMDF_LATCHED Value: 0x4 The command is an on-off toggle and is currently on. |
OLECMDF_NINCHED Value: 0x8 Reserved for future use. |
OLECMDF_INVISIBLE Value: 0x10 The command is hidden. |
OLECMDF_DEFHIDEONCTXTMENU Value: 0x20 The command is hidden on the context menu. |
Remarks
Values from the OLECMDF enumeration are used to fill the value of the cmdf member of OLECMD structures passed to IOleCommandTarget::QueryStatus.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | docobj.h |