Click or drag to resize

Win32ShellContextMenuProviderShowContextMenu Method

Shows the context menu at the specified location and executes the menu item the user has chosen.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
public ShellCommand ShowContextMenu(
	int posX,
	int posY,
	ShellContextMenuOptions pOptions


Type: SystemInt32
The x coordinate to display the context menu at.
Type: SystemInt32
The y coordinate to display the context menu at.
Type: Jam.ShellShellContextMenuOptions
A set of ShellContextMenuOptions for controlling the operation.

Return Value

Type: ShellCommand
The command of the menu item that has been executed. Its verb might be String.Empty, if nothing has been executed or a custom menu item or the command without verb or an error occurred.
See Also