Click or drag to resize

CommonHelperCheckContextMenuForShortcut Method

Check a short cut menu for a matching short and invoke that item if found.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static bool CheckContextMenuForShortcut(
	ContextMenuStrip cms,
	ref Message msg,
	Keys keyData
)

Parameters

cms
Type: System.Windows.FormsContextMenuStrip
ContextMenuStrip instance to check.
msg
Type: System.Windows.FormsMessage
Windows message that generated check.
keyData
Type: System.Windows.FormsKeys
Keyboard shortcut to check.

Return Value

Type: Boolean
True if shortcut processed; otherwise false.
See Also