Re: Hit-testing in custom NSCell in NSTableview
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