hehe

that is my question in another thread ;o)

/morten


Ornstein, Adam wrote:
I do need it for another reason...  I need to insert appointments into the
datebook in a number of dates, so should you need more help for your
appontment insertion issue, let me know ;)




SelectDay(selectDayByDay, &shMonth, &shDay, &shYear, cTitle);

DateType *dt6DaysPrior = new DateType;
dt6DaysPrior->day = shDay;
dt6DaysPrior->month = shMonth;
dt6DaysPrior->year = shYear;

DateToAscii (dt6DaysPrior->month, dt6DaysPrior->day, dt6DaysPrior->year,
dfMDYLongWithComma, c6DaysPriorDate);
FldSetTextPtr(txtStartDay, c6DaysPriorDate);
FldEraseField(txtStartDay);
FldDrawField(txtStartDay);


you may not even need the dt6DaysPrior date. You can just pass shMonth, shDay and shYear straight into DateToAscii().


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

Reply via email to