共用方式為


HwndHost.OnMnemonicCore(MSG, ModifierKeys) 方法

定義

當叫用這個接收的其中一個助憶鍵 (便捷鍵 (Access Key)) 時呼叫。

protected:
 virtual bool OnMnemonicCore(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
protected virtual bool OnMnemonicCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
protected virtual bool OnMnemonicCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore : MSG * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function OnMnemonicCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

參數

msg
MSG

助憶鍵及其相關聯資料的訊息。

modifiers
ModifierKeys

輔助按鍵 (Modifier Key)。

傳回

Boolean

一律傳回 false

屬性

適用於

另請參閱