I create:
Label x = new Label()�/span>
+ set the cursor on top of it with Cursor.Position, pointToScreen etc
+ bool drag=true
in order to be dragging the new label immediately.
Note that I’m moving my Label without the mouse being “down�/span>
When I get my label to where I want it : click -> drag= false
This works�.nearly
The mouse tends to accelerate off my control - and effectively drop it -and I have to keep going back to fetch it.
If I implement the new Label slightly differently and use a traditional:
Mousedown event: drag=true etc
Then this doesn’t happen. Note in that case I’m moving without the mouse being “down�/span>
It seems to be the action of physically clicking the control changes the behaviour of the mouse movement.
I can't see from my code that there's any difference between MouseMove when the mouse is down and when it isn't....is acceleration disabled? I've tried constraining movement with Cursor.Clip but this feels like a dead end.
Any help, greatly appreciated.