Compartir a través de


__VSTRANSACCELEXFLAGS Enumeration

Flags for TranslateAcceleratorEx calls.

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration __VSTRANSACCELEXFLAGS
[FlagsAttribute]
public enum __VSTRANSACCELEXFLAGS
[FlagsAttribute]
public enum class __VSTRANSACCELEXFLAGS
[<FlagsAttribute>]
type __VSTRANSACCELEXFLAGS
public enum __VSTRANSACCELEXFLAGS

Members

Member name Description
VSTAEXF_AllowModalState By default this function cannot be called when the shell is in a modal state, since command routing is inherently dangerous. However if you must access this in a modal state, specify this flag, but keep in mind that many commands will cause unpredictable behavior if fired.
VSTAEXF_Default The rgrguidKeyBindingScopes are pre-pended to currently active key binding scopes then command is fired.
VSTAEXF_IgnoreActiveKBScopes The rgrguidKeyBindingScopes are used INSTEAD of currently active key binding scopes.
VSTAEXF_NoFireCommand Do not fire the command through command routing.
VSTAEXF_UseGlobalKBScope Translate keys using Global key bindings. Equivalent to passing CMDSETID_StandardCommandSet97 and guidKeyDupe for scopes and the VSTAEXF_IgnoreActiveKBScopes flag.

Note

use this flag instead of passing any GUIDS (i.e. cKeyBindingScopes must be ZERO)

VSTAEXF_UseTextEditorKBScope Translate keys using TextEditor key bindings. Equivalent to passing CMDUIGUID_TextEditor, CMDSETID_StandardCommandSet97, and guidKeyDupe for scopes and the VSTAEXF_IgnoreActiveKBScopes flag.

Note

use this flag instead of passing any GUIDS (i.e. cKeyBindingScopes must be zero).

Remarks

COM Signature

From vsshell80.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace