Hello,
my scenario is this:
1) 1 ChildWindow with Treeview and Listbox
2) The drag and drop between Treeview and Listbox works (I have handled the DragInfo event and add the window to the PartecipatingVisualRoots list)
3) I want to disable the drop event on the Treeview. The items can only be dragged from the Treeview to the Listbox
I need help for the third point.
I handled the DropQuery event in the Treeview, but the event doesn't fire. It's the only event that doesn't fire on the Treeview. The DragInfo and the DropInfo works correctly.
I would like to use the DropQuery event to disable the drop in all the Treeview area.
Why does the DropQuery event doesn't fire?
There is an alternative method to disable the drop for all the Treeview control?
Thanks,
Alessandro
my scenario is this:
1) 1 ChildWindow with Treeview and Listbox
2) The drag and drop between Treeview and Listbox works (I have handled the DragInfo event and add the window to the PartecipatingVisualRoots list)
3) I want to disable the drop event on the Treeview. The items can only be dragged from the Treeview to the Listbox
I need help for the third point.
I handled the DropQuery event in the Treeview, but the event doesn't fire. It's the only event that doesn't fire on the Treeview. The DragInfo and the DropInfo works correctly.
I would like to use the DropQuery event to disable the drop in all the Treeview area.
Why does the DropQuery event doesn't fire?
There is an alternative method to disable the drop for all the Treeview control?
Thanks,
Alessandro