Heh. I'd file a bug with Apple - this could be an edge case they didn't 
consider when they redid grow zones. At the very least they could make sample 
code showing what they're doing behind the scenes with the tracking rects.

----- Original Message -----
From: mlist0...@gmail.com
To: "Lee Ann Rucker" <lruc...@vmware.com>
Cc: "Cocoa Dev" <cocoa-dev@lists.apple.com>
Sent: Sunday, May 20, 2012 11:11:51 AM
Subject: Re: trackingAreas can be snuck up on without triggering?

On May 20, 2012, at 10:45 AM, Lee Ann Rucker wrote:

> But if you're only updating the cursor, why not try addCursorRect:cursor: ? 
> Presumably that's smart enough to know about the grow zone.

The docs note that -addCursorRect:cursor: is "legacy api", supplanted in 
Leopard by... tracking rects! Not only that "The underlying implementation for 
the legacy methods is based on NSTrackingArea..." 

But IT WORKS! Thanks.

_murat

_______________________________________________

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

Reply via email to