Error: illegal use of incomplete struct/union/class 'struct ListAttrTag' test.cpp line 211 ListAttrType listAttr;
Thanks, Jenni
----- Original Message ----- From: "Mike Margerum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 2:14 PM
Subject: Re: How to remove/hide the default-scrolling-arrows from a list
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/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
