C#: Drag & Drop with right mouse button

Posted by stefan.at.wpf on Stack Overflow See other posts from Stack Overflow or by stefan.at.wpf
Published on 2010-04-22T01:15:24Z Indexed on 2010/04/22 1:23 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hello,

I'd like to do Drag & Drop with the right mouse button instead with the left one. However calling

DragDrop.DoDragDrop()

from MouseRightButtonDown instead of MouseLeftButtonDown doesn't do the job - DragDrop.DoDragDrop looks for mouse movements while holding down the left mouse button. Any idea how to realise Drag & Drop using the right mouse button? Thanks for any hint!

© Stack Overflow or respective owner

Related posts about c#

Related posts about drag-and-drop