On Mar 15, 2010, at 15:18, Richard Somers wrote:

> 1. With the mouse inside the view, a keyboard shortcut is entered to bring up 
> the panel.
> 
> 2. Move the mouse outside the view, and then close the panel (with keyboard 
> shortcut, window close box, or with the menu, it does not matter).
> 
> 3. Move the mouse back inside the view and mouse moved tracking has stopped. 
> That is the problem. Mouse moved tracking should be active but it is not.
> 
> 4. Move the mouse outside the view and back in again and now mouse tracking 
> is active again.

You likely need to use the NSTrackingAssumeInside option. The actual behavior 
of this option is not as documented. IIRC, without this option the tracking 
isn't going to start reliably until you exit and re-enter the area.

(This may not be that scenario, but I'd try the option first. There really 
isn't any reason I know about *not* to use the option.)


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to