OLECMDF Enumeration

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

Syntax

typedef enum OLECMDF {
  OLECMDF_SUPPORTED,
  OLECMDF_ENABLED,
  OLECMDF_LATCHED,
  OLECMDF_NINCHED,
  OLECMDF_INVISIBLE,
  OLECMDF_DEFHIDEONCTXTMENU
} ;

Constants

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.
OLECMDF_INVISIBLE The command is hidden.
OLECMDF_DEFHIDEONCTXTMENU 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

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header docobj.h

See Also

IOleCommandTarget::QueryStatus

OLECMD