>Can you tell me where I can get the PALM OS preference set time source
>codes?
It isn't terribly complicated; it is just this:
DateTimeType thisDay;
TimSecondsToDateTime(TimGetSeconds(), &thisDay);
if (SelectOneTime(&thisDay.hour,&thisDay.minute,NULL)) // use default title
"Set Time"
{
thisDay.second = 0; // set seconds to zero when setting time
TimSetSeconds(TimDateTimeToSeconds(&thisDay));
}
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html