Freigeben über


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.

public enum class OLECOMPFLAG
public enum class OLECOMPFLAG
enum OLECOMPFLAG
[System.Flags]
public enum OLECOMPFLAG
[<System.Flags>]
type OLECOMPFLAG = 
Public Enum 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