On Jan 5, 2011, at 9:33 AM, Martin Hewitson wrote:

> Dear List,
> 
> I have an app which contains a collection view with items which are supposed 
> to be re-ordered by the user. All is working well apart from one niggle: the 
> user has to click and hold down the mouse button for about 1 second before a 
> drag begins. This is most unintuitive and it took me a while to realise that 
> this is what's required. 
> 
> Does anyone know of a way to avoid this behaviour? A google search showed me 
> that others have asked this question, but I didn't find any answer. I'm 
> wondering if there is new information that has come to light since the days 
> of 10.5.

I haven't looked into that because I do want the delay; my app needs to tell 
the difference between mouseDown: that causes a drag and mouseDown: that should 
go to the collectionViewItem's contents instead.

But I do know that it's all done as a tracking loop in mouseDown: instead of 
mouseDragged: etc, so that's a place to start.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to