The cell consumes the event loop and dispatches events. Look at the
code via http://developer.apple.com/samplecode/PhotoSearch/listing9.html
ie:
if ([theEvent type] == NSMouseEntered || [theEvent type] ==
NSMouseExited) { [NSApp sendEvent:theEvent]; }
But do please log a bug; at worst, we can clarify with better
documentation, or make it easier (somehow) with new API.
corbin
Absolutely. I was dispatching NSMouseEntered, NSMouseExited and
NSLeftMouseDrag.
This was all working perfectly until I added code to do the
autoscrolling. I used NSPeriodic for this (which I also tried
dispatching, seeing as I was consuming it), and had the appropriate
call to scroll the view on receipt of the periodic events. At that
point I found the tracking areas to be out of place with respect to
the displacement of the view.
Definitely log a bug on this issue. I suspect you may need a way of
informing tracking areas to lazily update, and for them to update when
scrolling. Thanks!
corbin
_______________________________________________
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