NSTrackingInVisibleRect not working when view is resized
NSTrackingInVisibleRect not working when view is resized
- Subject: NSTrackingInVisibleRect not working when view is resized
- From: Steve Mills <email@hidden>
- Date: Tue, 26 Feb 2013 14:46:14 -0600
I have an NSControl subclass that has installed an NSTrackingAread for (NSTrackingInVisibleRect | NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingCursorUpdate | NSTrackingActiveInKeyWindow). This control can resize itself while tracking the mouse in its mouseDown method. If, after mouse-up, the mouse ends up outside the *original* frame, but is still inside the current frame, I'm getting a mouseExited. So it's like the NSTrackingArea code is caching an old frame or something like that instead of getting it directly from the view. Or is this some "undocumented behavior" I'm seeing?
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden