> >But I wanted to know when the Palm goes to sleep???

> Aha, you should have said so.  Check the auto-off time.  The thing is,
> you're not going to be doing "behind the scenes processing" while the
> Palm is in sleep mode...but you can get or set the value of the
> auto-off time, SysSetAutoOffTime (UInt16 seconds) or
> PrefGetPreference(prefAutoOffDurationSecs), and work from there.

The code I posted earlier also watches for the auto off.. look in the
PreProcessEvent function, its the last key that's checked for.




-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to