Do you need to stop them from changing the time, or do you just need to know
when they did and by how much? If the latter is the case and you can assume
OS 3.5 or greater, register for the sysNotifyTimeChangeEvent notification.

a look in NotifyMgr.h comes up with

#define sysNotifyTimeChangeEvent        'time'  
// Broadcast when the time is changed by the user.
// param: Int32*, ptr to time change delta in 
// seconds (e.g., a value of 100 means that the 
// user set the clock ahead 100 seconds).

For earlier vesions of the OS, you could get the same effect by patching out
TimSetSeconds(). I would encourage that you still let the time be changed,
just monitor what the change was...


************
In my app I need date and time parameters in order to monitor user's tasks.
How can I prevent a user's date/time change?


-Ezekiel Sanborn de Asis
Palm Developer Support
[EMAIL PROTECTED]


-- 
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