Re: Accepting Background Clicks
Re: Accepting Background Clicks
- Subject: Re: Accepting Background Clicks
- From: Sanford Selznick <email@hidden>
- Date: Fri, 14 Jul 2006 11:14:01 -0700
At 6:52 AM -0700 7/14/06, Buddy Kurz wrote:
Have you checked out acceptsFirstMouse: (NSView)?
I've now checked this out and am returning "YES" from it. I've
confirmed that it's actually called as documented.
My view is an NSOutlineView.
My view subclass does indeed get the mouseDown event. And I'm
calling through to [super mouseDown:theEvent]. However, trackMouse
in my NSActionCell never gets called.
trackMouse in my NSActionCell gets called when I'm front-most before
the click. When I look at the stack when I'm front-most, this is
supposed to be called directly by NSOutlineView. trackMouse never
called when I'm in the background.
My NSOutlineView does not initiate any drags.
I could call trackMouse/SetFrontProcess manually, I guess, but I'd
rather let Cocoa do it right. ;-)
Thanks,
Sanford
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden