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: Uli Kusterer <email@hidden>
- Date: Mon, 23 Jul 2007 01:06:33 +0200
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