• 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: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie


  • Subject: Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 4 May 2009 10:16:34 -0700


I was able to fix this thing based on Jim Correia's clue:

On 2009 Apr 26, at 15:29, Jim Correia wrote:

What you've done is ....
started a menu tracking session while the table view was already in
the middle of a mouse tracking session.

So I removed my override of -[NSTableView tableView:mouseDownInHeaderOfTableColumn:].


Instead, I subclassed NSTableHeaderView (which, it turns out, I needed to do anyhow to patch around some other unpredictable behavior), overrode its -mouseDown:, and moved my code into there.

Now, it doesn't keep on trackin' any more, and everything seems to work.

If someone could point me to some documentation on a "mouse tracking session", I might be able to understand why my first approach didn't work.

Thanks,

Jerry _______________________________________________

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


  • Prev by Date: Full content of "Cocoa Design Patterns" available as "Rough-Cut" on-line
  • Next by Date: Programmatically Changing Display(s) to Greyscale
  • Previous by thread: Full content of "Cocoa Design Patterns" available as "Rough-Cut" on-line
  • Next by thread: Programmatically Changing Display(s) to Greyscale
  • Index(es):
    • Date
    • Thread