From: "Nesse, Rustin" <[EMAIL PROTECTED]> > Hmm...have you been catching the power key in your form event handler, > or in the event loop, right before you call SysHandleEvent? You can > call your exit handling code in the event loop, too, I think.
Good point, Rus.. I had forgotten that, too. It gave me fits when I was trying to figure it out. Yes, you will never get the key events down "in your code" for the power or hard keys because the SysHandleEvent command catches it and acts on it before most folks' code gets a chance to handle it. You have to check for the key you are trying to trap before you call SysHandleEvent and after the EvtGetEvent. ---------- Bradly J. Barton - [EMAIL PROTECTED] Jenies Technologies Incorporated (972) 602-1835 http://www.JTI.net http://PalmInHand.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
