HwndSource.OnMnemonicCore(MSG, ModifierKeys) Metod

Definition

Anropas när en av mnemonics (åtkomstnycklarna) för den här mottagaren anropas.

protected:
 virtual bool OnMnemonicCore(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
protected virtual bool OnMnemonicCore(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
protected virtual bool OnMnemonicCore(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function OnMnemonicCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

Parametrar

msg
MSG

Meddelandet för mnemonic och associerade data.

modifiers
ModifierKeys

Modifierarnycklar.

Returer

trueom meddelandet har hanterats. annars . false

Attribut

Undantag

msg är inte WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR eller WM_DEADCHAR.

Gäller för

Se även