On 24/02/2010, at 9:12 PM, Nikhil Khandelwal wrote: > I have override a mouseDown event. Now I am trying to locate the [theEvent > locationInWindow] points in the superview which is flipped. So this is giving > me just opposite NSpoint so is there any method to flip the points or to > check for points in particular view.
Have you tried simply asking the superview to work it out for you? NSPoint localPt = [theSuperview convertPoint:[theEvent locationInWindow] fromView:nil]; --Graham_______________________________________________ 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