• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCell's mouse tracking method never called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSCell's mouse tracking method never called (From: Martin Cote <email@hidden>)
 >Re: NSCell's mouse tracking method never called (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Quastion about types in a NSPasteBoard
  • Next by Date: Re: Additional action when a view's value changes (Cocoa Bindings)
  • Previous by thread: Re: NSCell's mouse tracking method never called
  • Next by thread: Re: NSCell's mouse tracking method never called
  • Index(es):
    • Date
    • Thread