• 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
Detecting Click Location in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting Click Location in NSOutlineView


  • Subject: Detecting Click Location in NSOutlineView
  • From: "Jason Barker" <email@hidden>
  • Date: Mon, 9 Apr 2007 23:42:49 -0600

I have a NSOutlineView with a custom NSButtonCell formatter for the
first column. The custom cell formatter shows a checkbox. Its current
behavior is such that when a user clicks anywhere in the table cell
(except for the disclosure triangle), it changes the state of the
checkbox. What I want to do is limit the state change of the checkbox
to only cases when the user clicks on the checkbox itself and not just
anywhere in the table cell. How should I go about this?

Thanks,
Jason
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Detecting Click Location in NSOutlineView
      • From: "Jason Barker" <email@hidden>
  • Prev by Date: Re: Adding scroll bars to a custom NSView
  • Next by Date: Re: QTKit: handle movie playback progress
  • Previous by thread: Arrow support for NSBezierPath
  • Next by thread: Re: Detecting Click Location in NSOutlineView
  • Index(es):
    • Date
    • Thread