• 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
Handling mouse events in NSCell's?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handling mouse events in NSCell's?


  • Subject: Handling mouse events in NSCell's?
  • From: aaron smith <email@hidden>
  • Date: Fri, 18 Sep 2009 01:33:31 -0700

What's the proper way of handling simple mouse events in NSCell's?
Like mouseUp, mouseDown, etc.

I see that an NSControl implements NSResponder, but wasn't sure if
that's the right way to do it. Because of the fact that tables usually
use cell's rather than a control. I've also been looking at the method
trackMouse:inRect:ofView:untilMouseUp: but this method doesn't ever
get fired when the mouse is up.

Any ideas?
Thanks.
_______________________________________________

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

  • Follow-Ups:
    • Re: Handling mouse events in NSCell's?
      • From: Ken Ferry <email@hidden>
  • Prev by Date: Re: NSView / NSControl / NSCell drawing question
  • Next by Date: Re: Handling mouse events in NSCell's?
  • Previous by thread: Re: Running Safari from application
  • Next by thread: Re: Handling mouse events in NSCell's?
  • Index(es):
    • Date
    • Thread