Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
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