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 :  * System.Windows.Input.ModifierKeys -> bool
override this.TranslateAcceleratorCore :  * 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 keys.

傳回

一律傳回 falseAlways returns false.

適用於

另請參閱