__VSTRANSACCELEXFLAGS Enumeration

 

Flags for TranslateAcceleratorEx calls.

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

[FlagsAttribute]
public enum __VSTRANSACCELEXFLAGS

Member nameDescription
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.

VSTAEXF_UseTextEditorKBScope

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

From vsshell80.idl:

Return to top
Show: