OLECOMPFLAG Enum

Definition

Specifies flags that are used to control interactions between an in-place VSPackage object, its container, and the environment.

This enumeration supports a bitwise combination of its member values.

C++/CX
public enum class OLECOMPFLAG
Inheritance
OLECOMPFLAG
Attributes

Fields

Name Value Description
OLECOMPFLAG_ROUTEACTIVEASCNTRCMD 1

Indicates that the environment should first route all "Active Object" commands to the container of the active in-place object rather than to the object itself.

OLECOMPFLAG_INHIBITNESTEDCOMPUI 2

Indicates that nested objects are prevented from displaying their own menus and toolbars when they are in-place active.

Remarks

OLECOMPFLAG_ROUTEACTIVEASCNTRCMD may only be used by an object acting as the main component (OLEROLE_MAINCOMPONENT) to ensure that it is in control of commands that are dispatched to its nested in-place objects.

The OLECOMPFLAG_INHIBITNESTEDCOMPUI flag is currently not supported. When supported, it may only be used by a main component (OLEROLE_MAINCOMPONENT).

COM Signature

From oleipc.idl.

[C++]

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022