Re: Tracking rect woes
Re: Tracking rect woes
- Subject: Re: Tracking rect woes
- From: Keith Blount <email@hidden>
- Date: Mon, 14 Mar 2005 10:41:58 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Hello Johan,
Thank you for your reply - yes, that helps a lot. I
had just been setting assumeInside to YES (following
the example in Hillegass), and checking the mouse
position after that. So by doing what you suggest and
also calling my tracking rect resetting method from
viewDidMoveToSuperview and any time the bounds or
frame changes (which I was omitting to do before),
everything is working great.
Thanks again, much appreciated,
Keith
--- Johan Kool <email@hidden> wrote:
> Hello Keith,
>
> I assume you use this method to create the tracking
> rect in the
> resetCursorRects method:
>
> -(NSTrackingRectTag)addTrackingRect:(NSRect)aRect
> owner:(id)userObject
> userData:(void *)userData assumeInside:(BOOL)flag
>
> Check you mouse position to set the assumeInside
> parameter correctly.
>
> Hope this helps,
>
> Johan
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden