HwndSource.TranslateAcceleratorCore(MSG, ModifierKeys) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
處理鍵盤輸入的按鍵按鍵訊息層級。
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。
- 屬性