HwndSource.TranslateCharCore(MSG, ModifierKeys) HwndSource.TranslateCharCore(MSG, ModifierKeys) HwndSource.TranslateCharCore(MSG, ModifierKeys) HwndSource.TranslateCharCore(MSG, ModifierKeys) Method

Definition

Processes WM_CHAR, WM_SYSCHAR, WM_DEADCHAR, and WM_SYSDEADCHAR input messages before the OnMnemonic(MSG, ModifierKeys) method is called.

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);
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

Parameters

msg
MSG MSG MSG MSG

The message and associated data. Do not modify this structure. It is passed by reference for performance reasons only.

Returns

true if the message was processed and OnMnemonic(MSG, ModifierKeys) should not be called; otherwise, false.

Security

UIPermission
to call this method. Associated enumeration: AllWindows

Applies to