OLECMDF

The OLECMDF enumeration designates the type of support provided by an object for the command specified in an OLECMD structure.

typedef enum
{ 
    OLECMDF_SUPPORTED    = 1, 
    OLECMDF_ENABLED      = 2, 
    OLECMDF_LATCHED      = 4, 
    OLECMDF_NINCHED      = 8 
} OLECMDF; 
 

Elements

OLECMDF_SUPPORTED
The command is supported by this object.
OLECMDF_ENABLED
The command is available and enabled.
OLECMDF_LATCHED
The command is an on-off toggle and is currently on.
OLECMDF_NINCHED
Reserved for future use.

Remarks

Values from the OLECMDF enumeration are used to fill the value of the cmdf member of OLECMD structures passed to IOleCommandTarget::QueryStatus.

See Also

IOleCommandTarget::QueryStatus, OLECMD