• 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: Multiplying Tracking Rectangle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiplying Tracking Rectangle


  • Subject: Re: Multiplying Tracking Rectangle
  • From: Stefan Schüßler <email@hidden>
  • Date: Wed, 15 Jun 2005 08:56:47 +0200

Anyone?

I have a window with a custom view and a tracking rectangle attached to it. The tracking rectangle is added within the view's viewDidMoveToWindow method and it works fine at first.

However, every time I call [theWindow orderOut:...] and [theWindow orderFront:...] I receive another mouseEntered/mouseExited event.

For example: after the window has been "ordered out" ten times I get ten mouseEntered events when moving the mouse pointer into the view. The events have the same tracking number and event number respectively. However, the events have different addresses in memory.

Of course "addTrackingRect" is called only once. (Otherwise I would get different tracking numbers)

I'm running Mac OS X 10.4.1.

Any ideas?

Stefan

_______________________________________________ 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
References: 
 >Multiplying Tracking Rectangle (From: Stefan Schüßler <email@hidden>)

  • Prev by Date: Re: One Solution for storing ordered arrays within Core Data objects
  • Next by Date: Re: Is Apple Supporting RTP Standards?
  • Previous by thread: Multiplying Tracking Rectangle
  • Next by thread: Notification for Service
  • Index(es):
    • Date
    • Thread