event ViewItemStateStartChanging (Operation as ViewItemStateEnum, Item as HITEM, ColIndex as Long, Cancel as Variant)
Indicates that the state of the item is about to be changed.

TypeDescription
Operation as ViewItemStateEnum A ViewItemStateEnum expression that specifies the item operation that starts.
Item as HITEM A Long expression that specifies the handle of the item where the operation occurs. The View property specifies the view where the event occurs. The Items property of the View object gives access to the items collection of the view.
ColIndex as Long A Long expression that specifies the index of the column, where the operation occurs. The View property specifies the view where the event occurs. The Colums property of the View object gives access to the view's Columns collection. For instance, if the cell's check-box state is changing the ColIndex parameter specifies index of the column where check-box has been clicked.
Cancel as Variant A Boolean expression that specifies whether the operation should be canceled.
The ViewItemStateStartChanging / ViewItemStateEndChanging notifies your application that an item expanded or activated / selected, or when a check box has been clicked / changed.  The The ViewItemStateStartChanging event can be used to cancel any of the specified operations. The View property specifies the view where the event occurs. The ViewFromPoint property retrieves the view from the point. The ViewItemFromPoint property retrieves the view and item from the point. The ViewColumnFromPoint property retrieves the view and column from the point. The ColumnFromPoint property retrieves the column from the point. 

Syntax for ViewItemStateStartChanging event, /NET version, on:

private void ViewItemStateStartChanging(object sender,exontrol.EXCASCADETREELib.ViewItemStateEnum   Operation,int   Item,int   ColIndex,ref object   Cancel)
{
}

Private Sub ViewItemStateStartChanging(ByVal sender As System.Object,ByVal Operation As exontrol.EXCASCADETREELib.ViewItemStateEnum,ByVal Item As Integer,ByVal ColIndex As Integer,ByRef Cancel As Object) Handles ViewItemStateStartChanging
End Sub

Syntax for ViewItemStateStartChanging event, /COM version, on:

private void ViewItemStateStartChanging(object sender, AxEXCASCADETREELib._ICascadeTreeEvents_ViewItemStateStartChangingEvent e)
{
}

void OnViewItemStateStartChanging(long   Operation,long   Item,long   ColIndex,VARIANT FAR*   Cancel)
{
}

void __fastcall ViewItemStateStartChanging(TObject *Sender,Excascadetreelib_tlb::ViewItemStateEnum   Operation,Excascadetreelib_tlb::HITEM   Item,long   ColIndex,Variant *   Cancel)
{
}

procedure ViewItemStateStartChanging(ASender: TObject; Operation : ViewItemStateEnum;Item : HITEM;ColIndex : Integer;var Cancel : OleVariant);
begin
end;

procedure ViewItemStateStartChanging(sender: System.Object; e: AxEXCASCADETREELib._ICascadeTreeEvents_ViewItemStateStartChangingEvent);
begin
end;

begin event ViewItemStateStartChanging(long  Operation,long  Item,long  ColIndex,any  Cancel)

end event ViewItemStateStartChanging

Private Sub ViewItemStateStartChanging(ByVal sender As System.Object, ByVal e As AxEXCASCADETREELib._ICascadeTreeEvents_ViewItemStateStartChangingEvent) Handles ViewItemStateStartChanging
End Sub

Private Sub ViewItemStateStartChanging(ByVal Operation As EXCASCADETREELibCtl.ViewItemStateEnum,ByVal Item As EXCASCADETREELibCtl.HITEM,ByVal ColIndex As Long,Cancel As Variant)
End Sub

Private Sub ViewItemStateStartChanging(ByVal Operation As Long,ByVal Item As Long,ByVal ColIndex As Long,Cancel As Variant)
End Sub

LPARAMETERS Operation,Item,ColIndex,Cancel

PROCEDURE OnViewItemStateStartChanging(oCascadeTree,Operation,Item,ColIndex,Cancel)

RETURN

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

<SCRIPT EVENT="ViewItemStateStartChanging(Operation,Item,ColIndex,Cancel)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function ViewItemStateStartChanging(Operation,Item,ColIndex,Cancel)
End Function
</SCRIPT>

Procedure OnComViewItemStateStartChanging OLEViewItemStateEnum   llOperation HITEM   llItem Integer   llColIndex Variant   llCancel
	Forward Send OnComViewItemStateStartChanging llOperation llItem llColIndex llCancel
End_Procedure

METHOD OCX_ViewItemStateStartChanging(Operation,Item,ColIndex,Cancel) CLASS MainDialog
RETURN NIL

void onEvent_ViewItemStateStartChanging(int   _Operation,int   _Item,int   _ColIndex,COMVariant /*variant*/   _Cancel)
{
}

function ViewItemStateStartChanging as v (Operation  as  OLE::Exontrol.CascadeTree.1::ViewItemStateEnum,Item  as  OLE::Exontrol.CascadeTree.1::HITEM,ColIndex  as  N,Cancel  as  A)
end function

function nativeObject_ViewItemStateStartChanging(Operation,Item,ColIndex,Cancel)
return