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.
- 属性