Hit testing on NSTextField with custom cells
Hit testing on NSTextField with custom cells
- Subject: Hit testing on NSTextField with custom cells
- From: Jonathon Kuo <email@hidden>
- Date: Thu, 18 Mar 2010 15:25:07 -0700
I've created a subclass of NSTextFieldCell that just adds the
-hitTestForEvent:inRect:ofView:
method. If I substitute my subclass in an NSTableView for the standard NSTextFieldCells, I do get this callback when a table element is clicked.
But if I substitute my subclass in for an NSTextField's NSTextFieldCell, I never get the hit. How can I get this to work?
_______________________________________________
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