Listview drag drop and Ghost icon issue
-
Ok, I have a listview and a treeview. Gif's are being dragged from Listview and borught over to the treeview. I have managed to create a Ghost icon of the GIF when the user clicks on the picture, but the problem I have is that when drag starts, the ICON changes from the ghost icon to the default NO cursor. When it gets in the treeview, its the drag icon. Can someone suggest as to where I may be going wrong. I can obviosuly post codes snippets, butI am not sure it will be of any help. Its something more basic as to the dragdrop effects that I am not setting. I mean the drag drop works, the Ghost ICON, would be the icing on the cake. Thanks for any input. Sameer
-
Ok, I have a listview and a treeview. Gif's are being dragged from Listview and borught over to the treeview. I have managed to create a Ghost icon of the GIF when the user clicks on the picture, but the problem I have is that when drag starts, the ICON changes from the ghost icon to the default NO cursor. When it gets in the treeview, its the drag icon. Can someone suggest as to where I may be going wrong. I can obviosuly post codes snippets, butI am not sure it will be of any help. Its something more basic as to the dragdrop effects that I am not setting. I mean the drag drop works, the Ghost ICON, would be the icing on the cake. Thanks for any input. Sameer
Could it be because your
ListView
does not have theAllowDrop `property set to **true**? In this case, Windows Forms would specify the NO_CURSOR because you can't drop there. "we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty`