Specifies command-execution options. One value from this enumeration is passed in the nCmdExecOpt argument of IOleCommandTarget::Exec.
typedef enumMembers{
OLECMDEXECOPT_DODEFAULT = 0,
OLECMDEXECOPT_PROMPTUSER = 1,
LECMDEXECOPT_DONTPROMPTUSER = 2,
OLECMDEXECOPT_SHOWHELP = 3
} OLECMDEXECOPT;
OLECMDEXECOPT_PROMPTUSER
Execute the command after taking user input.
OLECMDEXECOPT_DONTPROMPTUSER
Execute the command without prompting the user (for example, clicking on the Print toolbar button, causes the document to be immediately printed without requiring the user input).
OLECMDEXECOPT_DODEFAULT
Caller is not sure whether the user should be prompted or not.
OLECMDEXECOPT_SHOWHELP
Object should show help for the corresponding command and not execute
See Also