C #: right click and drag

I would like to make Drag and Drop the right mouse button instead of the left. However challenge

DragDrop.DoDragDrop()

from MouseRightButtonDown instead of MouseLeftButtonDown does not do this work - DragDrop.DoDragDrop searches for mouse movements by holding the left mouse button. Any idea how to implement drag and drop with the right mouse button? Thanks for any hint!

+3
source share
1 answer

You need to use DragDrop.AddQueryContinueDragHandler (). See this post for more details .

+3
source

Source: https://habr.com/ru/post/1742205/


All Articles