言語

HwndSource.TranslateCharCore(MSG, ModifierKeys) メソッド

定義

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

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

パラメーター

msg
MSG

メッセージと関連するデータ。 この構造体は変更しないでください。 これは、パフォーマンス上の理由だけで参照渡しされます。

modifiers
ModifierKeys

修飾子キー。

返品

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

属性

適用対象