The power hard key and the auto power shutoff each cause a keyDownEvent.
The keyDownEvents are defined in Chars.h as hardPowerChr and autoOffChar.
Regards,
Steve
-----Original Message-----
From: Tian, Yong [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Wednesday, March 22, 2000 4:27 AM
To: Palm Developer Forum
Subject: System trap question
Hi,
I'm trying record usage pattern on the palm by
traping the system events, ie. use the
sysTrapSysUIAppSwitch to record the application
been accessed. But I can't find the traping
for the power on and auto power shutoff events,
does anybody know those two specific events
or the trapping for them ?
Thanks a lot,
Yong
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html