HwndHost.OnMnemonicCore(MSG, ModifierKeys) HwndHost.OnMnemonicCore(MSG, ModifierKeys) HwndHost.OnMnemonicCore(MSG, ModifierKeys) HwndHost.OnMnemonicCore(MSG, ModifierKeys) Method

定義

當叫用這個接收的其中一個助憶鍵 (便捷鍵 (Access Key)) 時呼叫。Called when one of the mnemonics (access keys) for this sink is invoked.

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);
abstract member OnMnemonicCore :  * System.Windows.Input.ModifierKeys -> bool
override this.OnMnemonicCore :  * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function OnMnemonicCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

參數

msg
MSG MSG MSG MSG

助憶鍵及其相關聯資料的訊息。The message for the mnemonic and associated data.

modifiers
ModifierKeys ModifierKeys ModifierKeys ModifierKeys

輔助按鍵 (Modifier Key)。Modifier keys.

傳回

一律傳回 falseAlways returns false.

適用於

另請參閱