SHDocVw.OLECMDEXECOPT

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type OLECMDEXECOPT = Cardinal;

C++

typedef Winapi::Activex::TOleEnum OLECMDEXECOPT;

Properties

Type Visibility Source Unit Parent
type
typedef
public
SHDocVw.pas
SHDocVw.hpp
SHDocVw SHDocVw

Description

OLECMDF influences the way in which an OLECMDID command is executed.

In C++ code imported from the shdocvw type library, OLECMDEXECOPT indicates what an Automation object should do in response to an OLECMDID command. The following table lists the possible values:



Constant Value Meaning

OLECMDEXECOPT_DODEFAULT

0

Use the default behavior, whether prompting the user for input or not.

OLECMDEXECOPT_PROMPTUSER

1

Execute the command after obtaining user input.

OLECMDEXECOPT_DONTPROMPTUSER

2

Execute the command without prompting the user.

OLECMDEXECOPT_SHOWHELP

3

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



See Also