On 9 Dec 2008, at 4:56 am, Gustavo Pizano wrote:

- (NSDragOperation)draggingUpdated:(id < NSDraggingInfo >)sender
{
        NSPoint converted = [NSEvent mouseLocation];


You should use the information you're given, where possible:


NSPoint location = [sender draggingLocation];


In this case you are supplied the appropriate point in the dragging info, there's no need to "go outside" to get it from somewhere else.


hth,

Graham


_______________________________________________

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]

Reply via email to