Re: NSTrackingArea, Pie charts and not rectangular areas
Re: NSTrackingArea, Pie charts and not rectangular areas
- Subject: Re: NSTrackingArea, Pie charts and not rectangular areas
- From: Adhamh Findlay <email@hidden>
- Date: Tue, 15 Jan 2008 17:21:45 -0600
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:
This email sent to email@hidden