You can also set the clipping rectangle around the portion of the screen you
want to write in, draw all characters, then reset it when finished.  I
believe if you use a custom list drawing function, the first and last parts
are done for you.

--
Tim Kostka

"BlakJak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a list on which I write my rows with WinDrawChars() function.
> Unfortunately the data in the database sometimes contains strings
> longer than the width of the list. How can I limit the function to
> write within the width of the list?
>
> I tried WinDrawTruncChars() but this caused my Palm 5000 (OS v1.0.7)
> to crash.
>
> What is the best technique?
>
>
> BlakJak :]
>
>
>
>



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

Reply via email to