OLECMDTEXTF enumeration (docobj.h)

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.

Syntax

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

Constants

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

Requirements

Requirement Value
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

OLECMDTEXT