and now what should i do if just like
#define LIST_ITEMS 3
#define MAX_STRING_LEN 50
Char szList[LIST_ITEMS][MAX_STRING_LEN] = {"abcdefg", "hijklmno",
"pqrstuvw"};
"Markus Dresch" <[EMAIL PROTECTED]> д����Ϣ����:[EMAIL PROTECTED]
>
> > how?
>
> you need a string-array to fill the list.
>
> example1:
>
> #define LIST_ITEMS 3
> #define MAX_STRING_LEN 50
> Char szList[LIST_ITEMS][MAX_STRING_LEN] = {"abcdefg", "hijklmno",
> "pqrstuvw"};
>
> if you want to use string resources to fill the list, simply load the
> strings in a string array similar to the one above. you can of course also
> allocate memory for the string at runtime using MemPtrNew calls (once for
> the string array and once for each string).
>
> markus dresch (www.palmside.com)
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/