Some time ago, Jonathan Harris wrote...
|+
| > By the way: how does windos handle a drag (i.e. when is a press a drag)?
|
| It's up to the application to initiate a drag operation. The win32 user
| interface guidlines recommend that the application should initiate a
| drag operation when the user clicks and holds the left-button (with or
| without modifiers) within selected text. Most applications also initiate
| a drag when the right button (button3 in XEmacs) is used in the same
| way.
Let me pick a nit. Drag is initiated after mouse is moved minimum distance
with a button down.
| On dropping text, the text should be copied if the Ctrl modifier is held
| down and should be moved if Ctrl isn't down. Mod and Shift are ignored.
| Some applications display a popup menu when text is dropped with the
| right button: the menu offers the user the choice of copying or moving
| the text. We probably don't need to bother with this and can just treat
| a right-button like a left-button. The button and modifier state is
| ignored for file drops.
Not exactly. They may have the same meaning for drop targets which are
file containers. What does dropping a file on a dired buffer mean?
Having a menu displayed on a right-button drop is a big plus. Pie in the
sky but the DND abstraction should not deny this.
Kirill