>2) Does anyone have some sample code or a reference to sample code
>to do something like the following:
>
>   build strings in a chunk of memory
>   set an array of pointers into the pool of strings above
>   call LstSetListChoices

We also use a list in one of our apps. Originally we used this approach,
but found it problematic for a few reasons. Instead, we switched to using a
NULL choices list,  and then in the callback routine, we just draw whatever
is appropriate for the row. We have to do a little more housekeeping to
keep track of what part of the lst we were working with, but it gives us
more control over the whole process. Just a suggestion.

I believe there's a sample of that in the O'Reilly book.

Regards,
Steve Mann

-------------------------------------------
Creative Digital Publishing Inc.
1317 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.788.0138            805.593.3811 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com


Reply via email to