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

Parameters

posX
Type: SystemInt32
The x coordinate to display the context menu at.
posY
Type: SystemInt32
The y coordinate to display the context menu at.
pOptions
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