FROM : Sanford Selznick
DATE : Fri Jul 14 20:14:01 2006
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
DATE : Fri Jul 14 20:14:01 2006
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
| Related mails | Author | Date |
|---|---|---|
| Sanford Selznick | Jul 14, 08:47 | |
| Buddy Kurz | Jul 14, 15:58 | |
| Matt Neuburg | Jul 14, 17:32 | |
| Sanford Selznick | Jul 14, 20:14 |






Cocoa mail archive

