[comp.sys.mac.programmer] Weird EventRecord.what after SelectWindow

martin@cs.uchicago.edu (01/17/91)

In the Control routine of my driver I SelectWindow a (currently
inactive) window that belongs to the driver and then leave the Control
routine.  By my reckoning, the next entry to the driver should be an
AccEvent with EventRecord.what = ActivateEvt (for the activation of
that window).

Indeed, the next entry is an AccEvent but the EventRecord.what = $0022.
What happened to the ActivateEvt?  Checking WindowList shows that the
selected window is indeed now the first window on the list.

Any help appreciated.

Charles Martin // martin@cs.uchicago.edu