| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
From Apple's docs : (NSCursor/mouseEntered:)
"This message is automatically sent to the receiver when the cursor enters a tracking rectangle owned by the receiver..."
What I understand from this, is that this method is called for a trackingRect, not a cursorRect, and only if the owner is your cursor. Is this the case ?
Personaly, I always use resetCursorRect in my view to play with trackingRect *and* cursorrect. Because this method is always called when rects need to be reset, you can do your stuff here. The only thing to not forget, is keep a reference for each of your trackingRect, delete them all in resetCursorRect, and re create them after this.
| References: | |
| >NSCursor category (From: Hamish Allan <email@hidden>) | |
| >Re: NSCursor category (From: Yann Bizeul <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.