Re: Custom Controls not receiving all NSResponder events
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com On Jul 13, 2009, at 1:45 PM, David Yamnitsky wrote: [-someNSView addCursorRect:someRect cursor:someCursor] Darrin -- Darrin Cardani dcardani@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Hi all, I'm having some trouble that I'm sure others have encountered as well. I've found that cocoa views used for custom FxPlug parameters do not receive all NSResponder events, such as mouseEntered: and mouseExited: however mouseDown: and mouseUp: do work. Is there some way that I can get mouseEntered: and mouseExited: to work? Have you set up tracking rects? You won't received -mouseEntered: calls unless you have, as far as I know. If you're just trying to change the cursor when in an appropriate area, you can use cursor rects: If you need to do more complex stuff than just changing cursors, look up the docs for NSTrackingArea in the Cocoa Event Handling Guide: <http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/Trac...
This email sent to site_archiver@lists.apple.com
participants (1)
-
Darrin Cardani