All I want to do is just allow the user to select a date, I'm using the
following code but when the "SelectDay" form pops up I get garbage as the
titles for the days (EX: instead of the day titles saying "SMTWTFS" I get
"Cl tepe")

static void DayViewGoToDate()
{
    Char*    DateTitle;
    Int16    month, day, year;

    year = CurrentDate.year;
    month = CurrentDate.month;
    day = CurrentDate.day;

    DateTitle = MemHandleLock(DmGetResource(strRsc, DateSelectString));

    if (SelectDay(selectDayByDay, &month, &day, &year, DateTitle)) {
        CurrentDate.year = year;
        CurrentDate.month = month;
        CurrentDate.day = day;
    }
    MemPtrUnlock(DateTitle);
}


And by the way  "CurrentDate" is a DateTimeType.....
    Thanks.....



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