Re: A cursor bug in DragItemAround example
Re: A cursor bug in DragItemAround example
- Subject: Re: A cursor bug in DragItemAround example
- From: an0 <email@hidden>
- Date: Wed, 23 Apr 2008 23:10:57 +0800
> Chances are, calling '[[self enclosingScrollView]
> setDocumentCursor:[NSCursor closedHandCursor]]' in 'mouseDown:' will fix the
> problem you're seeing. NSScrollView/NSClipView's way of changing the cursor
> conflicts with autoscrolling or drag-scrolling, but AFAIK there's no way of
> preventing that interference directly.
This partially works. However, if you move the item off the visible
part of scroll view and then move back, you'll find a arrowCursor
instead of openHandCursor when cursor hovers on the item. It seems
cursor problems pervade Cocoa applications and Apple just ignores
them:(
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden