"Phillip Streck" <[EMAIL PROTECTED]> wrote:
>
>sizeType temp;
>
>StrCopy ( temp.size1, "temp" );

Overwrites the first byte after temp.size1 with a 0.

>>I want to load the values in these members into a
>>list. Can someone explain how to do this, cus the way
>>it's done in the "Palm OS tutorial" I have no clue of
>>how to put these values into a list.

Create an array of Char* values:

   Char* items[10];

Initialize each array element to point to the corresponding string in
the structure, then pass it to LstSetListChoices().  This assumes that
all of the strings in the structure are null-terminated, and that the
structure instance remains in scope for the lifetime of the list.

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