Re: detecting mouse movement when window is inactive
Re: detecting mouse movement when window is inactive
- Subject: Re: detecting mouse movement when window is inactive
- From: Mitchell Livingston <email@hidden>
- Date: Sun, 22 Jul 2007 19:34:28 -0400
I've been using removeTrackingRect, and can't find anything in
regards to invalidating. I'm still getting very erratic behavior that
leads to crashing.
Thanks,
Mitch
On Jul 22, 2007, at 7:06 PM, Uli Kusterer wrote:
On 23.07.2007, at 00:58, Mitchell Livingston wrote:
This is what I want to do with an NSOutlineView, but it seems to
get really complicated with the content constantly changing. I set
it up with these tracking rects, but it seems to freeze. Here is
my code if it's of any interest.
Read the docs. There's a method you're supposed to implement, -
resetTrackingRects or something like that. That's where you're
supposed to remove all rects and re-apply them. There's also one to
invalidate them, which will cause the other one to be called again.
If you don't do that, you'll probably get them stacking up or
whatever.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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