Språk

HwndSource.TranslateCharCore(MSG, ModifierKeys) Metod

Definition

Bearbetar WM_CHAR, WM_SYSCHAR, WM_DEADCHAR och WM_SYSDEADCHAR indatameddelanden innan OnMnemonic(MSG, ModifierKeys) metoden anropas.

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

Parametrar

msg
MSG

Meddelandet och tillhörande data. Ändra inte den här strukturen. Det skickas av referens endast av prestandaskäl.

modifiers
ModifierKeys

Modifierarnycklar.

Returer

trueom meddelandet har bearbetats och OnMnemonic(MSG, ModifierKeys) inte ska anropas, annars . false

Attribut

Gäller för