event ExpandShortcut (OldCount as Long, NewCount as Long)
Notifies your application that the user just expanded the shortcut bar.

TypeDescription
OldCount as Long A long expression that indicates the count of expanded shortcuts before expanding the shortcut bar 
NewCount as Long A long expression that indicates the count of expanded shortcuts after expanding the shortcut bar. The NewCount parameter is the same as ExpandShortcutCount property.
The ExpandShortcut event notifies your application when the user resizes the control's shortcut bar. The ExpandShortcutCount property retrieves or sets a value that indicates the number of shortcuts being expanded. Use the  ExpandShortcutCount property to programmatically expand the shortcut bar. Use the ShortcutFromPoint property to retrieve the shortcut from the cursor.  Use the ShowShortcutBar property to show or hide the control's shortcut bar. Use the AllowResizeShortcutBar property to enable or disable resizing the shortcut bar. The Shortcut property indicates the HTML caption of the shortcut that displays the specified group. Groups with the same Shortcut property are displayed in the same shortcut.

Syntax for ExpandShortcut event, /NET version, on:

private void ExpandShortcut(object sender,int OldCount,int NewCount)
{
}

Private Sub ExpandShortcut(ByVal sender As System.Object,ByVal OldCount As Integer,ByVal NewCount As Integer) Handles ExpandShortcut
End Sub

Syntax for ExpandShortcut event, /COM version, on:

private void ExpandShortcut(object sender, AxEXPLORERTREELib._IExplorerTreeEvents_ExpandShortcutEvent e)
{
}

void OnExpandShortcut(long OldCount,long NewCount)
{
}

void __fastcall ExpandShortcut(TObject *Sender,long OldCount,long NewCount)
{
}

procedure ExpandShortcut(ASender: TObject; OldCount : Integer;NewCount : Integer);
begin
end;

procedure ExpandShortcut(sender: System.Object; e: AxEXPLORERTREELib._IExplorerTreeEvents_ExpandShortcutEvent);
begin
end;

begin event ExpandShortcut(long OldCount,long NewCount)
end event ExpandShortcut

Private Sub ExpandShortcut(ByVal sender As System.Object, ByVal e As AxEXPLORERTREELib._IExplorerTreeEvents_ExpandShortcutEvent) Handles ExpandShortcut
End Sub

Private Sub ExpandShortcut(ByVal OldCount As Long,ByVal NewCount As Long)
End Sub

Private Sub ExpandShortcut(ByVal OldCount As Long,ByVal NewCount As Long)
End Sub

LPARAMETERS OldCount,NewCount

PROCEDURE OnExpandShortcut(oExplorerTree,OldCount,NewCount)
RETURN

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

<SCRIPT EVENT="ExpandShortcut(OldCount,NewCount)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function ExpandShortcut(OldCount,NewCount)
End Function
</SCRIPT>

Procedure OnComExpandShortcut Integer llOldCount Integer llNewCount
	Forward Send OnComExpandShortcut llOldCount llNewCount
End_Procedure

METHOD OCX_ExpandShortcut(OldCount,NewCount) CLASS MainDialog
RETURN NIL

void onEvent_ExpandShortcut(int _OldCount,int _NewCount)
{
}

function ExpandShortcut as v (OldCount as N,NewCount as N)
end function

function nativeObject_ExpandShortcut(OldCount,NewCount)
return