Condividi tramite


__VSTRANSACCELEXFLAGS Enum

Definition

Flags for TranslateAcceleratorEx(MSG[], UInt32, UInt32, Guid[], Guid, UInt32, Int32, Int32) calls.

This enumeration supports a bitwise combination of its member values.

public enum class __VSTRANSACCELEXFLAGS
public enum class __VSTRANSACCELEXFLAGS
enum __VSTRANSACCELEXFLAGS
[System.Flags]
public enum __VSTRANSACCELEXFLAGS
[<System.Flags>]
type __VSTRANSACCELEXFLAGS = 
Public Enum __VSTRANSACCELEXFLAGS
Inheritance
__VSTRANSACCELEXFLAGS
Attributes

Fields

Name Value Description
VSTAEXF_Default 0

The rgrguidKeyBindingScopes are pre-pended to currently active key binding scopes then command is fired.

VSTAEXF_NoFireCommand 1

Do not fire the command through command routing.

VSTAEXF_IgnoreActiveKBScopes 2

The rgrguidKeyBindingScopes are used INSTEAD of currently active key binding scopes.

VSTAEXF_UseTextEditorKBScope 4

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

VSTAEXF_UseGlobalKBScope 8

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

VSTAEXF_AllowModalState 16

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.

Remarks

COM Signature

From vsshell80.idl:

Applies to