• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tracking rect woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Problem of resolution with JPEGs
  • Next by Date: Re: multidimensional arrays
  • Previous by thread: Re: Tracking rect woes
  • Next by thread: Force an NSTextField to give up focus
  • Index(es):
    • Date
    • Thread