Win32ShellContextMenuProviderShowContextMenu Method |
Shows the context menu at the specified location and executes the menu item the user has
chosen.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 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
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