Re: NSCell's mouse tracking method never called
Re: NSCell's mouse tracking method never called
- Subject: Re: NSCell's mouse tracking method never called
- From: Martin Cote <email@hidden>
- Date: Thu, 10 Dec 2009 07:22:58 -0500
On Wed, Dec 9, 2009 at 11:59 PM, Graham Cox <email@hidden> wrote:
>
> Are you expecting this method to be invoked by your tracking handler? Normally it's called by a mouseDown in the table.
No, I was hoping it would get called by a mouseDown.
>
> You need to show some code.
Before diving in the code, I would like to understand some more
details about the PhotoSearch sample project. I noticed that the
NSOutlineView's trackMouse method is only called when you
click-and-drag inside the tracking areas of the cell (in this case,
the info button). In other words, clicking anywhere else in the cell
won't trigger the trackMouse method.
Why does it happen this way? I'm starting to think that the
trackMouse method is related to the NSTrackingAreas... but I'm surely
wrong.
Martin
_______________________________________________
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