OLECMDEXECOPTOLECMDEXECOPT*
*Contents  *Index  *Topic Contents
*Previous Topic: DOCMISC
*Next Topic: OLECMDF

OLECMDEXECOPT

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

Specifies command execution options. One value from this enumeration is passed in the nCmdExecOpt parameter of the IOleCommandTarget::Exec method.

OLECMDEXECOPT_DODEFAULT
Use the default behavior, whether prompting the user for input or not.
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 actually execute the command.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.