5 out of 6 rated this helpful - Rate this topic

OLECMDEXECOPT enumeration

Applies to: desktop apps only

Specifies command execution options.

Syntax

typedef enum OLECMDEXECOPT {
  OLECMDEXECOPT_DODEFAULT        = 0,
  OLECMDEXECOPT_PROMPTUSER       = 1,
  OLECMDEXECOPT_DONTPROMPTUSER   = 2,
  OLECMDEXECOPT_SHOWHELP         = 3 
} OLECMDEXECOPT;

Constants

OLECMDEXECOPT_DODEFAULT

Prompt the user for input or not, whichever is the default behavior.

OLECMDEXECOPT_PROMPTUSER

Execute the command after obtaining user input.

OLECMDEXECOPT_DONTPROMPTUSER

Execute the command without prompting the user. For example, clicking the Print toolbar button causes a document to be immediately printed without user input.

OLECMDEXECOPT_SHOWHELP

Show help for the corresponding command, but do not execute.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

DocObj.h

See also

IOleCommandTarget::Exec

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ