[comp.sys.apollo] Ontaining KeyState information

GDAU100@BGUVM.BITNET ("Jonathan B. Owen") (04/14/89)

I am interested in knowing the state of the Shift and CTRL key
for a given KeyStroke Event.  Is it possible to obtain such information?

Also, I am a bit puzzled about the GPR$Event_wait when using Direct Mode.
The documentation says that if the display is not acquired, there is no
need to aqcuire the display.  But if, on the otherhand, the display
is acquired, the routine will implicitly release the display and
acquire it following an event.  I do not see why this routine should
have anything to do with the display.  This situation imposes a problem,
if one Ada task is incharge of drawing and another is incharge of
obtaining events, since the event-task is lible to release the
display which was acquired for drawing by the other task.

Any thought on the matter?

P.S.  Please reply directly to me, since I have not been added to this
      list despite my request...
______________________________________________________________________________
  (--)    /--)     /-(\                 Email: gdau100@bguvm (bitnet)
  \ /    /--K      | \|/\   /\/) /|-\   Snail: 55 Hovevei Zion
  _/_/o /L__)_/o \/\__/  \X/  \_/ | |_/        Tel-Aviv, 63346  ISRAEL
 (/        Jonathan B. Owen             Voice: (03) 281-422

 Point of view:  A chicken is the means by which an egg reproduces an egg.
______________________________________________________________________________