[comp.sys.mac.programmer] Update events to HyperCard xcmd?

peter@runxtsa.runx.oz.au (Peter Marks) (10/20/90)

I'm drawing on top of the HyperCard window with some xcmds 
and needto update my drawings when HyperCard gets an
update event.
 
What is really needed is the generation of a HyperCard
message every time it gets an update event. This will allow
me to re-draw my things as well.
 
I've tried putting an EentAvail xcmd in the idle handler of
the card and looking to see what it receives. It seems to get
only some of the events, but it reliably gets the app4
event when I switch back to the stack from another app under
multi-finder.
 
99%of the time this xcmd completely misses the update event,
(I've seen it once).
 
There are some new interfaces in HyperCard 2.0 that allow
passing events to windows managed by xcmd's but I can't see
how to intercept the normal events. (I only have early Snow
documentation, so perhaps there is something I haven't seen).
 
Please mail me or post any helpful hints.
 
Peter Marks.