IKeyboardInputSink.TranslateChar(MSG, ModifierKeys) Metoda

Definice

Procesy WM_CHAR, WM_SYSCHAR, WM_DEADCHAR a WM_SYSDEADCHAR vstupní zprávy před OnMnemonic(MSG, ModifierKeys) zavolání.

public:
 bool TranslateChar(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
public bool TranslateChar (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
public bool TranslateChar (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
Public Function TranslateChar (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

Parametry

msg
MSG

Zpráva a přidružená data. Tuto strukturu neupravujte. Předává se pouze odkazem z důvodů výkonu.

modifiers
ModifierKeys

Modifikační klávesy.

Návraty

Boolean

true pokud byla zpráva zpracována a OnMnemonic(MSG, ModifierKeys) neměla by být volána; falsev opačném případě .

Atributy

Poznámky

Pokud implementujete tuto metodu pro vrácení true, vstupní architektura nebude volat OnMnemonic tuto klíčovou zprávu.

Platí pro