Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » D&D DragDetect without mouse move distance on Canvas
D&D DragDetect without mouse move distance on Canvas [message #461109] Fri, 16 September 2005 11:27
Daniel Hirscher is currently offline Daniel HirscherFriend
Messages: 43
Registered: July 2009
Member
Hi,

the D&D Article states that on Windows the mouse has to be
moved a certain distance before the DragDetect Event gets fired.

So far, this is true when dragging from e.g. a Tree.

I have a own implementation of a SWT widget (Canvas) wich contains
child widgets (Item) that can be dragged.
If I press and hold the left mouse button, a DragDetect Event gets
fired after a certain time but without moving the mouse.
That time is rather short, so that the users often accidentally do
a drop which creates a copy of the element.

Why do I get a timed DragDetect instead of the mouse move distance?
Is this a problem/feature in Windows when using a Canvas?

How can I fix this?

--
Daniel
Previous Topic:table and keyboard...
Next Topic:HOW-TO: ApplicationWindow, progressBar and Action
Goto Forum:
  


Current Time: Fri Mar 29 08:59:43 GMT 2024

Powered by FUDForum. Page generated in 0.03873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top