Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Syntax


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

Constants

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.

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
OLECMDTEXT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.