macOS. Some Cocoa app wants to know whether the cursor moved from any point to a point outside of some rect.
Currently I use polling (which looks kind of inefficient). I tried NSTrackingArea, but this does not work: 1. if the cursor is initially NOT in the rect, the app does not get notified: Workaround: user moves cursor into the rect (not very good). 2. if the app is hidden under some other windows, it also does not get notified. Workaround: user removes covering windows of other apps, then moves cursor into the rect (even worse). Gerriet. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com