rua17 wrote:
I checked that this 2 functions receive as a parameter the number of pixels.
There's another function that takes the number of characters?

yeah, the array assignment operator would probably work.

buffer[char_limit] = TxtGlueGetHorizEllipsisChar();
buffer[char_limit+1] = '\0';

this assumes that buffer is at least char_limit+2 in size.

now, are you sure you want to limit on char width and not pixel width?

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

Reply via email to