Yet another simple operation I've apparently managed to miss something with...

I have an NSTableView subclass (actually, a subclass of BGHUDTableView), that contains a bunch of custom cells. For a couple types of those cells, I want to switch the cursor while it's in that cell. I'm following the code in the PhotoSearch sample project that's been mentioned here a couple times recently.

I've overridden -updateTrackingAreas in my table class, and I can see it adding the correct rect relative to the appropriate view, with options (NSTrackingEnabledDuringMouseDrag | NSTrackingMouseEnteredAndExited | NSTrackingActiveAlways).

I've called [[self window] setAcceptsMouseMovedEvents:YES]; from the table subclass's -awakeFromNib.

But -mouse[Entered|Exited]: is not being called when I move the mouse into those areas.

On a whim I even overrode -acceptsFirstResponder to return YES, but still no joy.

Any ideas?


Thanks.
randy
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to