ShellBrowserShowContextMenu(Point) Method |
Shows the shell context menu for the files contained in
MultiObjects or the active object.
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic string ShowContextMenu(
Point p
)
Public Function ShowContextMenu (
p As Point
) As String
public:
String^ ShowContextMenu(
Point p
)
member ShowContextMenu :
p : Point -> string
Parameters
- p Point
- Position on the screen at which the context menu should appear.
Return Value
StringThe shell command that was executed, an empty string if no shell comand was executed.
Example
Showing the context menu for the Windows folder:
using (ShellBrowser lShellBrowser = new ShellBrowser(@"C:\Windows"))
{
lShellBrowser.ShowContextMenu(new System.Drawing.Point(100, 100));
}
See Also