Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Dragging a Node from Diagram to Diagram (Read 1626 times)
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Dragging a Node from Diagram to Diagram
Jul 18th, 2012 at 10:38am
Print Post  
Hello,

i think it is difficult to have a correct cursor when the drag of a node leaves the diagram (underway to be dropped in another diagram).

This is due to the WPF freezing the eventing while the drag is on [the events don't fire until mouse button is released IMHO]: i.e. i had difficulties to detect that drag left the viewport in order to set the cursor.

Has anyone found a solution to showing a changed cursor when the dragging (of a node) leaves the diagram?

cheers
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Dragging a Node from Diagram to Diagram
Reply #1 - Jul 18th, 2012 at 11:29am
Print Post  
Hi,

During drag-and-drop operations the cursor is set by Windows depending on the drag result set in DragOver event handlers. If you need to show a custom cursor, I think you are supposed to do that only from the DragDrop.GiveFeedback event.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint