Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accepting Background Clicks



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Accepting Background Clicks (From: Sanford Selznick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.