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 00:34:00 +0200
On 22.07.2007, at 18:22, Mitchell Livingston wrote:
On Jul 22, 2007, at 9:52 AM, Uli Kusterer wrote:
On 22.07.2007, at 15:42, Mitchell Livingston wrote:
On Jul 22, 2007, at 9:30 AM, I. Savant wrote:
On Jul 22, 2007, at 12:23 AM, Mitchell Livingston wrote:
Is there no way to do this in cocoa? Tooltips can work when not
for the inactive window, so there must be some way. Any help
would really be appreciated.
See -addTrackingRect:owner:userData:assumeInside: and -- (void)
removeTrackingRect:(NSTrackingRectTag)aTag and search the docs
and archives for examples.
It appears this is only for entering and exiting. I need to
detect movement, specifically to know when the mouse enters and
exits cells in a table view. Is this possible?
Thanks,
Mitch
Have you even read the description of that method? You pass it a
rect. It does exactly what you want.
Perhaps not as closed as I should have. :-/ In my rush it seemed to
be focusing on the enter and exit, but I see now.
Maybe I'm misunderstanding something, but you said you wanted to
detect enter and exit of table cells. This gives you enter and exit
of arbitrary rects inside your view. Is there anything else you're
trying to do?
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