Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_SUPPORTEDValue: 0x1 The command is supported by this object. |
OLECMDF_ENABLEDValue: 0x2 The command is available and enabled. |
OLECMDF_LATCHEDValue: 0x4 The command is an on-off toggle and is currently on. |
OLECMDF_NINCHEDValue: 0x8 Reserved for future use. |
OLECMDF_INVISIBLEValue: 0x10 The command is hidden. |
OLECMDF_DEFHIDEONCTXTMENUValue: 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 |