Skip navigation.
 
mlMouse moved events in an NSCell
FROM : Gwynne
DATE : Sat Apr 30 10:39:27 2005

I have a custom NSCell inside an NSTableView. I need to intercept
mousemoved events in the cell.

- Tracking rectangles in an NSCell. Oops, NSCell isn't a subclass of
NSResponder.
- Tracking rectangles on the table view. Annoying list of methods to
override and flags to play with, but doable, except for one issue:
- According to the "Basic Event Handling" doc, only the first responder
receives mouse moved events. This is not acceptible; I need to always
receive the events.

Is there ANY way to do this without hacking the entire event stream
from NSApplication on down or switching the entire thing to a Carbon
window and a MouseTrackingRegion?

-- Gwynne, daughter of the Code
Website: http://musicimage.plasticchicken.com/
"This whole world is an asylum for the incurable."

Related mailsAuthorDate
No related mails found.