Microsoft SDK for Java

OLECMDEXECOPT Interface Fields

The OLECMDEXECOPT interface has the fields shown in the following table.

Field Value Description
OLECMDEXECOPT_DODEFAULT 0 Prompts the user for input or not, whichever is the default behavior.
OLECMDEXECOPT_PROMPTUSER 1 Executes the command after obtaining user input.
OLECMDEXECOPT_DONTPROMPTUSER 2 Executes 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 3 Shows Help for the corresponding command, but does not execute it.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.