Would it be possible to add a feature that allows the drag-and-drop process to be canceled by simultaneously pressing the right mouse button? Programs such as Visual Studio or PowerPoint already support this function.
The standard technique to cancel a drag is to press the escape key.
While some programs behave in this way, it isn't universal. It isn't, for example, implemented in Qt Creator or Chrome. The Visual Studio implementation invokes the context menu so may be an accident of the context menu implementation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The standard technique to cancel a drag is to press the escape key.
While some programs behave in this way, it isn't universal. It isn't, for example, implemented in Qt Creator or Chrome. The Visual Studio implementation invokes the context menu so may be an accident of the context menu implementation.