Just read the previous posts and it dawned on me that some of these
other programs were calling SysSleep, so I trapped that as well and
the hack seems to be working.

I can't find any documentation on SysSleep(), it takes two parameters
Boolean untilReset and Boolean emergency.  I realize it is an
undocumented function, but can anyone give me any clues as to the
various settings?

I'd also like a sure fire way to know when the Palm is being powered
up by the power button.  It appears that checking event.data.keyDown
== vchrHardPower only checks for the Palm going to sleep ...  I'd
rather not use the Notification Manager for a hack.

Dwayne Fujima
fujima at shore dot net

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to