event InvokeMenuCommand (Command as String)
Fired when the user selects an item context menu that has been added during QueryContextMenu event.

TypeDescription
Command as String A String expression that indicates the caption of the custom command being executed.
Use the InvokeMenuCommand event to notify your application when the user selects a custom command, that was previously added using the QueryContextMenu event. The InvokeItemMenu event notifies the application once the user selects a command by identifier in the context menu. Use the DefaultMenuItems property to specify whether the context menu shows the default menu items. The InvokeMenuCommand event is not fired if user clicks a default command. It is fired only for items being added using the QueryContextMenu event.

Syntax for InvokeMenuCommand event, /NET version, on:

private void InvokeMenuCommand(object sender,string Command)
{
}

Private Sub InvokeMenuCommand(ByVal sender As System.Object,ByVal Command As String) Handles InvokeMenuCommand
End Sub

Syntax for InvokeMenuCommand event, /COM version, on:

private void InvokeMenuCommand(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_InvokeMenuCommandEvent e)
{
}

void OnInvokeMenuCommand(LPCTSTR Command)
{
}

void __fastcall InvokeMenuCommand(TObject *Sender,BSTR Command)
{
}

procedure InvokeMenuCommand(ASender: TObject; Command : WideString);
begin
end;

procedure InvokeMenuCommand(sender: System.Object; e: AxEXSHELLVIEWLib._IExShellViewEvents_InvokeMenuCommandEvent);
begin
end;

begin event InvokeMenuCommand(string Command)
end event InvokeMenuCommand

Private Sub InvokeMenuCommand(ByVal sender As System.Object, ByVal e As AxEXSHELLVIEWLib._IExShellViewEvents_InvokeMenuCommandEvent) Handles InvokeMenuCommand
End Sub

Private Sub InvokeMenuCommand(ByVal Command As String)
End Sub

Private Sub InvokeMenuCommand(ByVal Command As String)
End Sub

LPARAMETERS Command

PROCEDURE OnInvokeMenuCommand(oExShellView,Command)
RETURN

Syntax for InvokeMenuCommand event, /COM version (others), on:

<SCRIPT EVENT="InvokeMenuCommand(Command)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function InvokeMenuCommand(Command)
End Function
</SCRIPT>

Procedure OnComInvokeMenuCommand String llCommand
	Forward Send OnComInvokeMenuCommand llCommand
End_Procedure

METHOD OCX_InvokeMenuCommand(Command) CLASS MainDialog
RETURN NIL

void onEvent_InvokeMenuCommand(str _Command)
{
}

function InvokeMenuCommand as v (Command as C)
end function

function nativeObject_InvokeMenuCommand(Command)
return