[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Menu manager/journaling question
In article <1se5ld$rvo@altitude.HIP.CAM.ORG> Phillip Vandry,
vandry@CAM.ORG writes:
> >I don't think run queue routines are executed during a MenuSelect,
since DAs
> >are not active during menu selection.
>
> That's only because _GetOSEvent doesn't call _SystemEvent, the routine
> responsible for intercepting and acting on desk accessory events.
>
> _MenuSelect calls _GetOSEvent instead of _GetNextEvent because events
like
> activate events and update events would be bad while a menu is open.
>
> In HKMenus, I got CDAs to work while a menu is open by calling
_SystemEvent
> myself if _GetOSEvent returned a CDA event. (Notice that the highlight
> bar disappears just before going to the CDA menus and reappears right
> after)
Good point on GetNextEvent vs. GetOSEvent.
Note that Run Queue tasks get called by SystemTask (which MenuSelect also
doesn't call), not by SystemEvent.
David A. Lyons, Apple Computer, Inc. | DAL Systems
Apple II System Software Engineer | P.O. Box 875
Internet:dlyons@apple.com | Cupertino, CA 95015-0875
My opinions are my own, not Apple's.