Why mouseExited/mouseEntered isn\'t called when mouse exits from NStrackingArea by scrolling or doing animation?
I create code like this:
Mouse entered and e
@Michael offers a great answer, and solved my problem. But there is one thing,
if (CGRectContainsPoint([self bounds], mouseLocation)) { [self mouseEntered: nil]; } else { [self mouseExited: nil]; }
I found CGRectContainsPoint works in my box, not CGPointInRect,
CGRectContainsPoint
CGPointInRect