OLECMDTEXTF

The OLECMDTEXTF enumeration specifies the type of information that an object should store in the OLECMDTEXT structure passed in IOleCommandTarget::QueryStatus. One value from this enumeration is stored the cmdtextf member of the OLECMDTEXT structure to indicate the desired information.

typedef enum  
{ 
    OLECMDTEXTF_NONE      = 0, 
    OLECMDTEXTF_NAME      = 1, 
    OLECMDTEXTF_STATUS    = 2 
} OLECMDTEXTF; 
 

Elements

OLECMDTEXTF_NONE
No extra information is requested.
OLECMDTEXTF_NAME
The object should provide the localized name of the command.
OLECMDTEXTF_STATUS
The object should provide a localized status string for the command.

See Also

IOleCommandTarget::QueryStatus, OLECMDTEXT