You should use the Key Manager function KeyCurrentState() to check which key is pressed. This function returns bit field with bits set for each key that is currently depressed.
UInt32 KeyCurrentState (void); See keyBitPower, keyBitPageUp, keyBitPageDown, etc., in KeyMgr.h. Huiqiang Zhang -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
