[comp.sys.mac.programmer] must DAs be re-entrant?

daves@hpnmdla.HP.COM (Dave Smith) (10/23/90)

I don't remember anything in IM about it, but I've discovered that Desk
Accessories must be written so that they are re-entrant! When I put up
an alert, my DA gets called with a de-activate event. When the alert
goes away, my DA gets called with an update event. Are there other events
that cause a DA to re-enter?

Dave Smith

oster@well.sf.ca.us (David Phillip Oster) (10/25/90)

If the d.a. puts up an alert, then it will be called not only for
deactivate and update while the alert is up, but also idle, acccursor,
and accRun. If the d.a calls MenuKey(), with a command key equivalent to
one of its menu choices, it will be called reentrantly with a accMenu.
-- 
-- David Phillip Oster - Note new signature. Old one has gone Bye Bye.
-- oster@well.sf.ca.us = {backbone}!well!oster