On Jan 13, 2011, at 7:37 PM, Corbin Dunn wrote:
> - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint
>
> Then do something like this (after converting the screen point to window
> coords):
>
> NSPoint windowPoint = [[view window] mouseLocationOutsideOfEventStream];
> NSPoint localPoint = [view convertPoint:windowPoint fromView:nil];
> if (![view mouse:localPoint inRect:[view visibleRect]]) {
> [[NSCursor disappearingItemCursor] set];
> }
Fantastic, thanks so much Corbin!
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]