HwndHost.OnMnemonicCore Method (MSG, ModifierKeys)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called when one of the mnemonics (access keys) for this sink is invoked.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

[SecurityCriticalAttribute]
[UIPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
protected virtual bool OnMnemonicCore(
	ref MSG msg,
	ModifierKeys modifiers
)

Parameters

msg
Type: System.Windows.Interop.MSG

The message for the mnemonic and associated data.

modifiers
Type: System.Windows.Input.ModifierKeys

Modifier keys.

Return Value

Type: System.Boolean

Always returns false.

.NET Framework
Available since 4.0
Return to top
Show: