OLECMDFOLECMDF*
*Contents  *Index  *Topic Contents
*Previous Topic: OLECMDEXECOPT
*Next Topic: OLECMDID

OLECMDF

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

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

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

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.