• 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: Out-of-order enter/exit events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out-of-order enter/exit events


  • Subject: Re: Out-of-order enter/exit events
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Tue, 15 Feb 2005 15:49:20 +0100

At 7:58 Uhr -0600 15.02.2005, Ricky Sharp wrote:
If I move the cursor slowly, I get the proper sequence of events when entering/exiting the views. But, if the cursor moves quickly, the enter/exit events still fire, but can be out-of-order.

I'd suggest you just keep a pointer to the view that last showed its help tag around (i.e. set that global to self on mouseEnter:). Only hide the help tag from mouseExited: if the view that got the mouseExited: is the same as the last one that showed it.


That way, in the case where a "hide" arrives after another "show", it will just be ignored.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: Out-of-order enter/exit events
      • From: Ricky Sharp <email@hidden>
References: 
 >Out-of-order enter/exit events (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Beta testers needed
  • Next by Date: Re: OT: "metric" time
  • Previous by thread: Re: Out-of-order enter/exit events
  • Next by thread: Re: Out-of-order enter/exit events
  • Index(es):
    • Date
    • Thread