Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTrackingArea, Pie charts and not rectangular areas




On Jan 15, 2008, at 3:46 PM, Kyle Sluder wrote:

Did you remember to enable mouseMoved events?  By default AppKit
doesn't send them because they are so numerous; you have to explicitly
ask for them.

--Kyle Sluder

I don't think you have to enable mouse events when using an NSTrackingArea. At least, right now I don't have mouse events enabled on the window in question, but mouseMoved does fire appropriately. As a test I did enable mouse events and the problem did change, so it appears that tracking areas don't require setAcceptsMousedMovedEvents.


The problem I am having is that the toolTips don't update properly, as long as I'm inside the tracking area the toolTip won't dimiss. I'm also wondering if my implementation could be better...

Adhamh
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSTrackingArea, Pie charts and not rectangular areas (From: Adhamh Findlay <email@hidden>)
 >Re: NSTrackingArea, Pie charts and not rectangular areas (From: "Kyle Sluder" <email@hidden>)



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.