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
)
Public Function ShowContextMenu (
posX As Integer,
posY As Integer,
pOptions As ShellContextMenuOptions
) As ShellCommand
public:
ShellCommand^ ShowContextMenu(
int posX,
int posY,
ShellContextMenuOptions pOptions
)
member ShowContextMenu :
posX : int *
posY : int *
pOptions : ShellContextMenuOptions -> ShellCommand
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:
ShellCommandThe 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