• 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: Accepting Background Clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: peekaboo, icu
  • Next by Date: Re: Application dock icon problem
  • Previous by thread: Re: Accepting Background Clicks
  • Next by thread: Re: Accepting Background Clicks
  • Index(es):
    • Date
    • Thread