Dear All,
I am working on a Treeview control in
VB.NET.
I am able to drag and drop the items from one selected item to another within the treeview control.
But, i also want the icon to change during drag and want to reset it during drop.
I finded that one has to code on the GiveFeedBack event of the control.
I have done that but its not working.
The code for that event is as follows:
Private Sub TreeView3_GiveFeedback(ByVal sender As Object, ByVal e As System.Windows.Forms.GiveFeedbackEventArgs) Handles TreeView3.GiveFeedback
If e.Effect <> DragDropEffects.None Then
e.UseDefaultCursors = False
Else
e.UseDefaultCursors = True
End If
End Sub
Can anyone suggest me how to do that.
Pls reply.
Thanks & Regards,
Muskaan.