At 12:00am -0700 00-08-04, Palm Developer Forum digest wrote:
>Subject: Display problems in mail app sample
>From: "H Lee" <[EMAIL PROTECTED]>
>Date: Fri, 04 Aug 2000 05:16:33 -0000
>X-Message-Number: 116
>
>I compiled the mail app obtained from Palm OS 3.5 SDK examples and
>ran it on the emulator (using PalmV image ROM).
>
>In the list view, I notice that a square box is displayed instead of
>the ellipsis (...) (at the end of truncated string). Why ?
>
>However, when I downloaded the app to a PalmIIIc, ellipsis (...) is
>displayed. It works on PalmIIIc but not PalmV.
This is because the Latin version of the 3.1 ROMs (used on a Palm V)
had a bug in WinDrawChar(), which is used by WinDrawTruncChars, which
is what the Mail app uses to draw truncated strings. The Shift-JIS
(Japanese) version of the 3.1 ROMs is OK.
The fix to the Mail app should be to call WinGlueDrawTruncChars
(found in PalmOSGlue.lib) instead of WinDrawTruncChars, but currently
the glue code still calls WinDrawTruncChars on 3.1 devices. Thanks
for the reminder - I'll update the code to fix this problem for Latin
3.1.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/