Kyle,
Both are keyDownEvents with the following "chr" set.....
event.data.keyDown.chr == vchrHardPower occurs when the hard power button is pressed.
event.data.keyDown.chr == vchrAutoOff occurs when the inactivity timer expires, controlled with EvtResetAutoOffTimer() or SysSetAutoOffTime()
Lorraine
At 12:23 AM 3/2/2005 +0000, you wrote:
Hi all,
Would someone please be able to tell me what event occurs during an auto power off? I am trying to write some code in an application that will do certain things when a power off occurs and know what event occurs when the power button is pressed, but not when an auto power off happens.
Cheers,
Kyle
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
