>Palmos 3.5.* listboxes don't seem to respect the hasScrollBar flag, or
>clipping regions.
Yes, I can confirm that bug. It is not an easy one to get around. FWIW it
has been fixed in the main sources so you'll see it repaired in the next OS
release.
One workaround might be to have your drawing callback call WinSetTextColor
as its last step, and set the color to UIObjectFill or
UIObjectSelectedFill, such that when it calls WinDrawChar to draw the up or
down arrow, it blends into the background and is thus invisible. Not
ideal, since it might overlap part of your list item's content, but perhaps
it'll do. You'd also have to be careful to set the color back to something
normal at a later time, which could get tricky.
Or patch WinDrawChar to ignore drawing symbolSmallUpArrow and
symbolSmallDownArrow, when drawn at a given x, y on your form, but that's
pretty nasty :-) Might be more effective, though. Make sure you only do
that on a 3.5.x system, if you try it.
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/