You'll need to define
#define ALLOW_ACCESS_TO_INTERNALS_OF_LISTS

Then you can do this

           ListAttrType    listAttr;

int attrSize = sizeof(listAttr);
err = MemMove (&listAttr, &(listP->attr), attrSize);
listAttr.hasScrollBar = 1;
err = MemMove ( &(listP->attr), &listAttr, attrSize);



I doubt this will be portable when writing pure cobalt apps but it does the trick for os 5 and below. It's a lot of work to implement a table when all you want is a listbox with a real scrollbar.


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

Reply via email to