event AfterShellMenuCommand ()
Fired after the control executes the selected menu item from the folder's context menu list.

TypeDescription
Right clicking on a folder results in showing the folder's context menu. If some item from this menu is selected, the control fires a pair of events to notify your application about this event. Before the menu item is executed, BeforeShellMenuCommand event is fired. After the menu item is executed, this event is fired. Please note that Windows OS is a multitasking environment. That means that execution of menu item does not mean that this event is fired after the executed program (or command) has finished. Rather, immediately after execution of the menu item this event is fired. The control provides a drop down context menu, if the EnableShellMenu property is True.

Syntax for AfterShellMenuCommand event, /NET version, on:

private void AfterShellMenuCommand(object sender)
{
}

Private Sub AfterShellMenuCommand(ByVal sender As System.Object) Handles AfterShellMenuCommand
End Sub

Syntax for AfterShellMenuCommand event, /COM version, on:

private void AfterShellMenuCommand(object sender, EventArgs e)
{
}

void OnAfterShellMenuCommand()
{
}

void __fastcall AfterShellMenuCommand(TObject *Sender)
{
}

procedure AfterShellMenuCommand(ASender: TObject; );
begin
end;

procedure AfterShellMenuCommand(sender: System.Object; e: System.EventArgs);
begin
end;

begin event AfterShellMenuCommand()
end event AfterShellMenuCommand

Private Sub AfterShellMenuCommand(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AfterShellMenuCommand
End Sub

Private Sub AfterShellMenuCommand()
End Sub

Private Sub AfterShellMenuCommand()
End Sub

LPARAMETERS nop

PROCEDURE OnAfterShellMenuCommand(oExFolderView)
RETURN

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

<SCRIPT EVENT="AfterShellMenuCommand()" LANGUAGE="JScript">
</SCRIPT>

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

Procedure OnComAfterShellMenuCommand 
	Forward Send OnComAfterShellMenuCommand 
End_Procedure

METHOD OCX_AfterShellMenuCommand() CLASS MainDialog
RETURN NIL

void onEvent_AfterShellMenuCommand()
{
}

function AfterShellMenuCommand as v ()
end function

function nativeObject_AfterShellMenuCommand()
return