Flushing events
Flushing events
- Subject: Flushing events
- From: Ricky Sharp <email@hidden>
- Date: Wed, 2 Nov 2005 19:02:58 -0600
I have a need to flush all events before entering a local event
loop. I've search for a 'flushEvents' API, but can't come up with
any. The article at <http://www.cocoadev.com/index.pl?
FlushAppEventQueue> didn't help much either.
I've seen discardEventsMatchingMask:beforeEvent:, but what I really
need is a discardEventsMatchingMask:afterEvent:
Before I enter the local loop, I've thought of capturing the current
timestamp and "eating" events that occurred before that time via the
nextEventMatchingMask APIs.
Is there a better way?
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.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