IKeyboardInputSink.TranslateChar(MSG, ModifierKeys) メソッド

定義

OnMnemonic(MSG, ModifierKeys) の呼び出し前に、WM_CHAR、WM_SYSCHAR、WM_DEADCHAR、および WM_SYSDEADCHAR 入力メッセージを処理します。

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

パラメーター

msg
MSG

メッセージおよび関連付けられたデータ。 この構造体を変更しないでください。 パフォーマンス上の理由から、これは参照渡しのみです。

modifiers
ModifierKeys

変換キー。

戻り値

Boolean

メッセージが処理されたため OnMnemonic(MSG, ModifierKeys) を呼び出さない場合は true。それ以外の場合は false

属性

注釈

このメソッドを実装して返 trueす場合、入力アーキテクチャはそのキー メッセージを呼び出 OnMnemonic しません。

適用対象