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

輔助按鍵 (Modifier Key)。

傳回

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

屬性

適用於

另請參閱