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

Multiplying Tracking Rectangle


  • Subject: Multiplying Tracking Rectangle
  • From: Stefan Schüßler <email@hidden>
  • Date: Mon, 13 Jun 2005 17:18:43 +0200

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


  • Follow-Ups:
    • Re: Multiplying Tracking Rectangle
      • From: Stefan Schüßler <email@hidden>
  • Prev by Date: Re: Keyboard modifiers on buttons
  • Next by Date: Re: Keyboard modifiers on buttons
  • Previous by thread: Re: Keyboard modifiers on buttons
  • Next by thread: Re: Multiplying Tracking Rectangle
  • Index(es):
    • Date
    • Thread