Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mouse moved events in an NSCell



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."

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.