Bagikan melalui


HwndSource.OnMnemonicCore(MSG, ModifierKeys) Metode

Definisi

Dipanggil ketika salah satu mnemonics (kunci akses) untuk sink ini dipanggil.

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

Parameter

msg
MSG

Pesan untuk data mnemonik dan terkait.

modifiers
ModifierKeys

Tombol pengubah.

Mengembalikan

true jika pesan ditangani; jika tidak, false.

Atribut

Pengecualian

msg tidak WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, atau WM_DEADCHAR.

Berlaku untuk

Lihat juga