HwndHost.TranslateAcceleratorCore(MSG, ModifierKeys) HwndHost.TranslateAcceleratorCore(MSG, ModifierKeys) HwndHost.TranslateAcceleratorCore(MSG, ModifierKeys) HwndHost.TranslateAcceleratorCore(MSG, ModifierKeys) Method

定義

在 Keydown 訊息層級處理鍵盤輸入。Processes keyboard input at the keydown message level.

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);
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 MSG MSG MSG

訊息及相關聯資料。The message and associated data. 請勿修改這個結構。Do not modify this structure. 參考僅基於效能考量而傳送它。It is passed by reference for performance reasons only.

modifiers
ModifierKeys ModifierKeys ModifierKeys ModifierKeys

輔助按鍵 (Modifier Key)。Modifier keys.

傳回

一律傳回 falseAlways returns false.

適用於

另請參閱