Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!zephyrus!darweesh From: darweesh@zephyrus.crd.ge.com (Michael Darweesh) Newsgroups: comp.sys.mac.programmer Subject: Re: peeking deep into the keyboard... Message-ID: <14596@crdgw1.crd.ge.com> Date: 7 Dec 90 14:23:41 GMT References: <1990Dec7.092009.4454@athena.mit.edu> Sender: news@crdgw1.crd.ge.com Organization: General Electric Corporate R&D Center Lines: 12 The procedure you want to learn about is: PROCEDURE GetKeys (VAR theKeys:KeyMap); KeyMap is basically and array of Bits that represent the current keboard state. Your favorite Mac programming reference should be able to describe this who idea in more detail. It should be located in the chapter that discusses "The Toolbox Event Manager" in Inside Macintosh. I use "SpInside Macintosh", so I can't help you with page numbers. -Mike Darweesh weesh@crd.ge.com