HwndSource.TranslateCharCore(MSG, ModifierKeys) Método

Definición

Procesa los mensajes de entrada WM_CHAR, WM_SYSCHAR, WM_DEADCHAR y WM_SYSDEADCHAR antes de llamar al método OnMnemonic(MSG, ModifierKeys).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);
protected virtual bool TranslateCharCore (ref 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
[<System.Security.SecurityCritical>]
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

Parámetros

msg
MSG

El mensaje y los datos asociados.The message and associated data. No modifique esta estructura.Do not modify this structure. Se pasa por referencia debido únicamente a razones de rendimiento.It is passed by reference for performance reasons only.

modifiers
ModifierKeys

Teclas modificadoras.Modifier keys.

Devoluciones

Boolean

true si el mensaje se ha procesado y no debe llamarse a OnMnemonic(MSG, ModifierKeys); de lo contrario, false.true if the message was processed and OnMnemonic(MSG, ModifierKeys) should not be called; otherwise, false.

Atributos

Se aplica a