OLECMDF

Designates the type of support provided by an object for the command specified in OLECMD.

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
TDB

Remarks

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

See Also

IOleCommandTarget::QueryStatus, OLECMD