語言

HwndSource.TranslateAcceleratorCore(MSG, ModifierKeys) 方法

定義

處理鍵盤輸入的按鍵按鍵訊息層級。

protected:
 virtual bool TranslateAcceleratorCore(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
protected virtual bool TranslateAcceleratorCore(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
protected virtual bool TranslateAcceleratorCore(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member TranslateAcceleratorCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.TranslateAcceleratorCore : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member TranslateAcceleratorCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.TranslateAcceleratorCore : MSG * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function TranslateAcceleratorCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

參數

msg
MSG

訊息與相關資料。 請勿修改此結構。 僅因績效考量而通過推薦。

modifiers
ModifierKeys

修飾鍵。

傳回

true 如果訊息由方法實作處理;否則, false。

屬性

適用於

另請參閱