共用方式為


ComponentRegistrationFlags Enumeration

Flags given to FRegisterComponent to indicate what kind of component services you need.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration ComponentRegistrationFlags
'用途
Dim instance As ComponentRegistrationFlags
[FlagsAttribute]
public enum ComponentRegistrationFlags
[FlagsAttribute]
public enum class ComponentRegistrationFlags
[<FlagsAttribute>]
type ComponentRegistrationFlags
public enum ComponentRegistrationFlags

Members

Member name Description
NeedIdleTime Needs idle time callbacks.
PreTranslateKeys Must process keyboard messages before translation.
PreTranslateAll Must process all messages before translation.
NeedSpecialActivationNotifications Need to be notified for special activation changes (currently, this will notify component if ExclusiveBorderSpace or ExclusiveActivation mode changes). Top-level components should register with this flag.
NeedAllActivationNotifications needs to be notified for every change in activation state
ExclusiveBorderSpace Needs exclusive border space when active (normally only used by TopLevel Mac components).
ExclusiveActivation Component becomes exclusively active when activated.
NeedAllMacEvents Need all Mac events.
Master Component is always active and gets first shot at everything.

See Also

Reference

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace