• 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: Hit-testing in custom NSCell in NSTableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hit-testing in custom NSCell in NSTableview


  • Subject: Re: Hit-testing in custom NSCell in NSTableview
  • From: Glen Simmons <email@hidden>
  • Date: Fri, 6 Oct 2006 11:46:39 -0500

Yes, except for getting that information out to the world. When an NSActionCell sends its action message, there's no extra information, just the control that contains it. Also, the cell isn't involved at all for a right-click.


On Oct 6, 2006, at 11:16 AM, Mike Abdullah wrote:

I'd have thought your best bet is to place this kind of logic inside the NSCell itself. It should be easy to tell from there.

Mike.

On 6 Oct 2006, at 14:54, Glen Simmons wrote:

I have a custom NSCell that draws a list of small images. This cell is being used in an NSTableview. I need to know when the user clicks on one of the images, both left and right click. I know when a click happens and in which column and row, but I need to know which image in the cell was hit. Ideas?

Thanks,
Glen Simmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Hit-testing in custom NSCell in NSTableview
      • From: Ricky Sharp <email@hidden>
References: 
 >Hit-testing in custom NSCell in NSTableview (From: Glen Simmons <email@hidden>)
 >Re: Hit-testing in custom NSCell in NSTableview (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: managedObjectContext hasChanges
  • Next by Date: Any interest in starting a Mac Digg Chain
  • Previous by thread: Re: Hit-testing in custom NSCell in NSTableview
  • Next by thread: Re: Hit-testing in custom NSCell in NSTableview
  • Index(es):
    • Date
    • Thread