Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Live content questions



On 28 Nov 2003 18:14:34, Eric Schlegel <email@hidden> wrote:

> The nested event loop run by the Menu Manager only removes a select
> number of events from the event queue - mouse events and key events,
> mostly. The Menu Manager doesn't know about your custom events, so it
> doesn't remove them from the queue; they stay in the queue until menu
> tracking has finished.
> ...
> The menu tracking loop does not use TrackMouseLocation (it just calls
> ReceiveNextEvent directly), but even if it did use TML, you still
> wouldn't get custom Carbon events dispatched, because TML doesn't
> dispatch custom carbon events either - like the Menu Manager's nested
> event loop, it only pulls a small set of events from the event queue.

Curious about rationale for this. Why couldn't it be the "all"
approach (all events are fetched/dispatched). Historical tradition?

Mike
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.