On 14.01.2011, at 01:37, 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];

 The OS will be very disappointed if it hands you a screenPoint and you just 
completely ignore it and use mouseLocationOutsideOfEventStream instead. Due to 
lag, CPU load etc. It sounds like a better idea to use the parameter.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

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