Export (0) Print
Expand All

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          = 0x1,
  OLECMDF_ENABLED            = 0x2,
  OLECMDF_LATCHED            = 0x4,
  OLECMDF_NINCHED            = 0x8,
  OLECMDF_INVISIBLE          = 0x10,
  OLECMDF_DEFHIDEONCTXTMENU  = 0x20
} OLECMDF;

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft