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.2
Syntax
public ShellCommand ShowContextMenu(
	int posX,
	int posY,
	ShellContextMenuOptions pOptions
)

Parameters

posX  Int32
The x coordinate to display the context menu at.
posY  Int32
The y coordinate to display the context menu at.
pOptions  ShellContextMenuOptions
A set of ShellContextMenuOptions for controlling the operation.

Return Value

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