Re: unsupported international call

2005-05-10 Thread Ken Krugler
on Latin-based pre-4.0 devices, I'd suggest creating your own hard-coded conversion from CP1252 to UTF-8, which wouldn't be hard. If you also have to work with Japanese 3.5, then you could use the glue and subsequently convert UCS-2 to UTF-8, which is easy. -- Ken -- Ken Krugler TransPac Software

Re: FEP problem

2005-04-15 Thread Ken Krugler
are you targeting? -- 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/support/forums/

Re: overlay spec, SDK-4

2005-04-06 Thread Ken Krugler
of the 'ovly'=1000 resouce need to be in sync with the resources found in the base PRC. -- 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/support/forums/

Re: DataMgr.c, Line:7649, Overlay without a base

2005-04-05 Thread Ken Krugler
this could happen, other than the typical hand-waving explanation of memory got munged. -- 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/support/forums/

Re: Converting a string into UTF-8

2005-04-02 Thread Ken Krugler
of TxtGlueConvertEncoding beyond backwards compatibility to 3.5. It also works around a bug in the Sony 3.5 implementation of this routine, and it allows you to pass the charEncodingDstBestFitFlag in with the destination encoding without having to check which OS version supports this flag. -- Ken -- Ken

Re: Using Hebrew fonts on Palm Os Developer suite

2005-03-07 Thread Ken Krugler
Developer suite, so once I installed the complied application to the already hebrew installed Palm device, I will be able to view those fonts. -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe

Re: How To Make A Custom Japanese Font?

2005-02-28 Thread Ken Krugler
like: for (uint16_t i = 0; i 0x; i++) { if (TxtCharIsValid(i)) { Draw the character into another offscreen bitmap Compare to the known undefined bitmap } } -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470

Re: How To Make A Custom Japanese Font?

2005-02-27 Thread Ken Krugler
the required sub-font(s) yourself. -- 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/support/forums/

Re: multilizer - localization

2005-02-26 Thread Ken Krugler
resizing, but I don't know if it's automatic or not. I just downloaded 6.1, but I haven't tried it out yet. What strategy you recommend for localization? Depends on lots of factors. If Multilizer really worked, and you could afford it, then that would be my recommendation. -- Ken -- Ken Krugler

Re: SMS Unicode

2005-02-26 Thread Ken Krugler
on the version of the library. So if you received a Chinese message, for example, on an English T|T then you might not wind up with anything being displayed. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: multilizer - localization

2005-02-25 Thread Ken Krugler
i know multilizer can do the translation inside PRC file. Does anybody know if multilizer can also do the translation for .rcp file? I don't believe so. They can handle XML (XRD) files, from what I've heard. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: fonts txt

2005-02-21 Thread Ken Krugler
displaying anti-aliased text, they are using their own private drawing routines. -- 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/support/forums/

Re: Date formats

2005-02-21 Thread Ken Krugler
, right? As in 2004-12-24. and thus the locale defaults are thus bunk in a lot of cases. You mean for many locales the preferred date format for most people is ISO? I hadn't heard that...could you point me to some place that documents this? Thanks, -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: TxtCharIsHardKey - Error in Palm OS Reference.pdf?

2005-02-16 Thread Ken Krugler
. Note that the TxtCharIsVirtual() macro is different, in that you need to use the glue version on versions of the OS 3.5. -- 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

Re: Graffite gets locked

2005-02-02 Thread Ken Krugler
where num pad can be opened) If you can write Chinese characters on the screen, then this is also something added by the 3rd party hack, so you'd also want to ask them this question directly. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: How can I force Palm OS to use single byte text encoding?

2005-01-23 Thread Ken Krugler
simplify your record packing problem. Even for multi-byte characters, lengths of strings are still in terms of bytes, and typically field lengths (or fixed sizes) are in terms of bytes, so where is the win? Thanks, -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: Incorrect PRC file ?

2004-12-28 Thread Ken Krugler
at how this might be happening. -- 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/support/forums/

Re: Chinese Character Recognition

2004-12-22 Thread Ken Krugler
needs to be able to enter/edit/display Chinese on an English device, which is a very different kind of problem. Even then, some 3rd party hacks support running the device w/an English UI, while still supporting Chinese text. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1

Re: Unicode on palm

2004-12-03 Thread Ken Krugler
the TxtConvertEncoding API. If the goal of using Unicode is to support multi-lingual display, then there are several options that have been discussed on this list in the past - Robert should search the archives. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: TxtGlueParamString on Sony S300

2004-11-21 Thread Ken Krugler
, otherwise call the routine directly. It turns out there's a bug in the glue code, where it uses the (Latin) glue version if the OS version is 4.0, but the check should be 3.5. That's why I thought you needed to handle the Sony/3.5 case specially, but you don't. -- Ken -- Ken Krugler TransPac

Re: TxtGlueParamString on Sony S300

2004-11-19 Thread Ken Krugler
with PalmOSGlue, though not exactly the same issue, so I'm not sure it's relevant. (Ken Krugler, if you're reading this, did this problem ever get resolved?) I'll check. But I don't believe it's related. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: database sorting is wrong

2004-11-12 Thread Ken Krugler
) { return(-1); } else if (dbr1-date dbr2-date) { return(1); } else { return(0); } -- 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

Re: T5 memory leak in FntDefineFont

2004-11-08 Thread Ken Krugler
, not the T5 version from palmOne. If so, then also report this as a bug to PalmSource. Thanks, -- 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/support

Re: T5 memory leak in FntDefineFont

2004-11-07 Thread Ken Krugler
FntDefineFont(id, NULL). Thanks, -- 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/support/forums/

Re: T5 memory leak in FntDefineFont

2004-11-06 Thread Ken Krugler
- Original Message - From: Ken Krugler [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, November 05, 2004 9:46 AM Subject: Re: T5 memory leak in FntDefineFont Has anyone found a work around for this memory leak ? In the T5 simulator and the actual unit

Re: T5 memory leak in FntDefineFont

2004-11-05 Thread Ken Krugler
would trigger an error (and potentially give you invalid results) on Palm OS 4.0, 4.1, and perhaps early 5.x releases. -- 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

Re: problem in displaying chinese characters correctly

2004-10-27 Thread Ken Krugler
is that CJKOS (like many other multi-byte hacks) tries to interpret what it considers to be invalid multi-byte sequences as Latin, which improves compatibility with English applications. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: Change database name of overlay

2004-10-26 Thread Ken Krugler
. -- 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/support/forums/

Re: StrPrintF for wide characters

2004-10-20 Thread Ken Krugler
Is there an equivalent of StrPrintF function for wide characters? StrPrintF has supported %lc (and %C) for printing wide characters for quite a long time. Note that it assumes the character uses the device encoding, not Unicode. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: Zire 72 sim in chinese

2004-10-20 Thread Ken Krugler
PalmSim, but I believe they use ARM code, and thus wouldn't work. -- 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/support/forums/

Re: Chinese on POSE

2004-10-15 Thread Ken Krugler
install 3rd party RAM-based Chinese solutions (overlays) on a stock English 4.x ROM, or you can use Simplified Chinese Palm OS 5.3/5.4 with PalmSim. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: Info reqd regarding creating a chinese prc using Constructor

2004-10-01 Thread Ken Krugler
) and it worked fine. -- 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/support/forums/

Re: looking for a case-insensitive string search algorithm

2004-09-16 Thread Ken Krugler
of the vowel (makes it long), but the resulting two characters combine to form a single unit that is weakly equal to just the base ha character, as well as the Katakana ha character, and the single-byte (half-width) ha character, etc. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: CHineese PRC does not work - Urgent Please Help

2004-09-12 Thread Ken Krugler
will also Help. It would be useful to first know what steps you followed to create the overlay that's not working. -- 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

Re: SysStringByIndex

2004-09-01 Thread Ken Krugler
. -- 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/support/forums/

re: Error In TextMgr

2004-09-01 Thread Ken Krugler
, theSearch, sizeof(theSearch)); -- 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/support/forums/

Re: Error in TextMgr

2004-08-31 Thread Ken Krugler
of the destination string. In other words, the value you pass in should include space for the byte at the end of the destination buffer string. -- 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

RE: Unicode

2004-08-27 Thread Ken Krugler
be the case for an English device using the PalmLatin character encoding. -- 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/support/forums/

Re: Strings are always maintained in UTF-8 format while characters are always in 2 bytes?

2004-08-19 Thread Ken Krugler
a device is released that uses UTF-8, each character will occupy between one and four bytes in the string. -- 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

Re: How to display into Uppercase

2004-08-18 Thread Ken Krugler
); EvtEnqueueKey(curChar, 0, 0); } This works even if the result of upper-casing the text causes expansion, as would be the case (if this ever gets fixed) of upper-casing a letter such as ß in Germany (becomes SS). -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: Is StrCopy Localisation safe?

2004-07-30 Thread Ken Krugler
, since all of the existing Palm OS APIs are narrow in the sense that they expect a byte stream, versus a 16-bit word stream. The only current Palm OS function that will correctly process a wide encoding is TxtConvertEncoding. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com

RE: using a string resource

2004-07-30 Thread Ken Krugler
around, and you can get an empty string returned even with a valid string index. But having more than 127 strings in a resource is not a great idea anyway. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: Displaying Unicode characters

2004-07-24 Thread Ken Krugler
-- 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/support/forums/

Re: TxtConvertEncoding Failing on Cobalt

2004-07-24 Thread Ken Krugler
an error returned, but all of the input text will be processed, and any unmappable character will be replaced by the substitution string. And finally, all of this is, or should be, explained by the documentation that is part of the SDK. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: More font questions

2004-07-17 Thread Ken Krugler
font format is used for Japanese/Chinese/Korean. -- 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/support/forums/

Re: Displaying Unicode

2004-07-15 Thread Ken Krugler
, but it will take a bit of work. The biggest issue is how many non-1252 characters you need to be able to handle. -- 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

Re: what is the hexadecimal code for right arrow symbol

2004-06-29 Thread Ken Krugler
found in the 9pt symbol font at code points 0x05 and 0x06. See Chars.h for a complete list. -- 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/support

Re: Working with time zones

2004-06-24 Thread Ken Krugler
functionality that it doesn't provide. -- 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/support/forums/

Re: TsmLib.c Line448

2004-06-24 Thread Ken Krugler
text for this error message says Unknown Fep mode. This would happen if somebody calls TsmSetFepMode with a value that the Japanese FEP does not understand. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: about input mode on clie

2004-06-23 Thread Ken Krugler
in the second image is that the field code is receiving information from the FEP that tells it to highlight the Hiragana a character as converted text. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: No of pixels in a character string

2004-06-15 Thread Ken Krugler
there isn't much reason to do so. -- 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/support/forums/

Re: Finding overlay database

2004-06-10 Thread Ken Krugler
locale is used to initialize the system and overlay (current) locales. Then the user can pick a different system/overlay locale using the Language Picker app, which is automatically run following a hard reset. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: truncate a string

2004-06-03 Thread Ken Krugler
(); TxtGlueSetNextChar(string, truncOffset, ellipsis); or for the one-line-of-code-does-it-all fans out there: TxtGlueSetNextChar(string, TxtGlueGetTruncationOffset(string, max_length), TxtGlueGetHorizEllipsisChar()); -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: palmos 5 localization

2004-05-20 Thread Ken Krugler
solution (maybe from Paragon?), and hope that they did it right and set the system locale properly. -- 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

Re: overlays

2004-05-20 Thread Ken Krugler
Czech solution from a third party (maybe Paragon?) versus rolling your own. -- 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/support/forums/

Re: Localization for Strings

2004-05-20 Thread Ken Krugler
a corresponding resource with the localized versions. c. When you get a string from the server, look it up in the English list, and load the same indexed string from the overlay. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm

RE: Localization Overlays and Address App

2004-05-11 Thread Ken Krugler
as a resource, which you then turn into a separate PRC via DmCreateDatabaseFromImage. So you could still leverage overlays, but not have to ship multiple PRCs as part of your product. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: Crash within WinCopyRectangle

2004-05-07 Thread Ken Krugler
Ken Krugler a Ècrit : When running my program on a OS 3.5 IIIc, the map pan feature based on WinCopyRectangle (following stylus moves) often crashes with the following stack crawl (seen in the CW 8.3 debugger): MapHandleEvent( EventType* ) 0x10C55E52( WinCopyRectangle ) 0x10C4E0D2

Re: Localization Overlays and Address App

2004-05-07 Thread Ken Krugler
PalmSource tools. Multilizer is a high end solution. Paragon has some tools for building their own form of overlays. Scott Maxwell has yet another solution, see http://www.pocketpurchase.com/tools/PalmOS_Foreign_Language_Plug-ins.htm. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: Crash within WinCopyRectangle

2004-05-06 Thread Ken Krugler
, Ken Krugler wrote: 2. When calling WinCopyRectangle(screen, off-screen) and the off-screen window uses a bitmap without a color table, then Palm OS 3.5 will accidentally dispose of the system color table, and a subsequent call will die in Poser. I think this same situation might occur

Re: Supplying a '\0' for StrNCompare on not null-terminated strings

2004-05-02 Thread Ken Krugler
charStart, charEnd; TxtCharBounds(s, n, charStart, charEnd); return(charStart); } else { return(i); } } // StrNLen -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information

Re: How to determine if an app is running on the Simulator?

2004-04-26 Thread Ken Krugler
error/debugger break. -- 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/support/forums/

Re: Japanese fonts on an English Palm Device

2004-04-13 Thread Ken Krugler
was the ability to draw Japanese text (versus wrapping/editing/sorting/etc). -- 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/support/forums/

Re: How to share fonts among apps ?

2004-04-10 Thread Ken Krugler
the uncompressed font PRC approach. Another alternative that might work is to leverage FontBucket. -- 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

Re: find offset of character in string

2004-04-08 Thread Ken Krugler
); buffer[offset] = '\0'; } -- 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/support/forums/

Re: TxtFindString question

2004-03-25 Thread Ken Krugler
to write your own. There might be a really old thread on this in the archives, when Paul Nevai asked the same question. -- 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

Re: overlays

2004-03-25 Thread Ken Krugler
in Palm OS 3.5, but only for the platform (EFIGS+J) locales. b. The 3rd party locale solution isn't setting up the overlay locale properly. If you call OmGetCurrentLocale, it should return Russian/Hebrew/Arabic. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470

Re: system keyboard

2004-03-23 Thread Ken Krugler
well, What I need is not a special keyboard function. I only want to show= the keyboard perse...is there a function which shows the keyboard rather= than the whole frame. No. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using

Re: Text manager and International manager

2004-03-23 Thread Ken Krugler
is represented in a string by one to four bytes. Even today, though, Palm OS supports mixed-width encodings. For example, Shift-JIS (for Japanese) is a mix of one and two bytes per character in a string. The same is true for Simplified Chinese, Traditional Chinese, and Korean. -- Ken -- Ken

Re: Inserting the shortcut (ribbon) character

2004-03-21 Thread Ken Krugler
the Graffiti glue code does, which is a bit challenging if you want to handle all of the special cases. -- 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

Re: Font families with Pilrc

2004-03-09 Thread Ken Krugler
(even if they're found in a ROM on a double-density device) is that an app can still create and draw text in a single-density offscreen bitmap. The Palm OS 5 blitter can only up-sample (use single-density glyph data at double density), it can't down-sample. -- Ken -- Ken Krugler TransPac Software

Re: Detect ROM language

2004-03-05 Thread Ken Krugler
locale solution, they've correctly set up these values. LmGetLocaleSetting returns default settings for a given locale (e.g. what is the default short date format for frFR). -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using

Re[2]: Base PRC and Overlay localization

2004-03-02 Thread Ken Krugler
. -- 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/support/forums/

Re: Japanese

2004-03-02 Thread Ken Krugler
I'm guessing that the strings you're referring to are being displayed in a dialog by POSE - No, the text was drawn to the screen using WinPaintChars. Then it should work, if you're using a Japanese ROM, as there's no desktop OS support involved. -- Ken -- Ken Krugler TransPac Software, Inc

RE: Language Support in Cobalt

2004-03-01 Thread Ken Krugler
for patched-based solutions is much more limited in Cobalt. So it would be very difficult to create a Hebrew or Arabic locale, for example. -- 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

Re: Base PRC and Overlay localization

2004-03-01 Thread Ken Krugler
. The name of the overlay file on your desktop (Prog3_frFR.prc, in your example above) doesn't matter. Neither does the name of overlay PRC as displayed by the Launcher, as this should be coming from the tAIN resource inside of your overlay. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: Japanese

2004-02-29 Thread Ken Krugler
to do much configuration here - it's just worked for me in the past. One final note is that POSE has to do some special processing to pick the correct font to use when displaying text that comes from the ROM. It could be that this is broken in the Clie emulator. -- Ken -- Ken Krugler TransPac

Re: Japanese port

2004-02-28 Thread Ken Krugler
-- 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/support/forums/

Re: Finding undisplayable characters in current font

2004-02-03 Thread Ken Krugler
solution, you could craft your own by drawing both a known invalid character and the target character to off-screen bitmaps and comparing the bits. Ugly, I know. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: Question about FntCharWidth

2004-02-03 Thread Ken Krugler
); } } This assumes you've called FntDefineFont for all of your custom fonts, and there's a kHighByteToFontIdTable static table that is used to map from the high byte to the font ID. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer

Re: International Feature Set

2004-02-02 Thread Ken Krugler
for new routines added after 3.1 (and 3.5, in some cases), as well as fixing some known bugs, so you still might want or need to link with it. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: Unicode Programming

2004-01-30 Thread Ken Krugler
the result to set the label/button. -- 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/support/forums/

Re: regionalized version of __DATE__

2004-01-30 Thread Ken Krugler
the string and convert it to DateType. Does anybody have any better ideas? If you're using CodeWarrior, you could create a Rez (.r) file that uses $$Month, $$Day and $$Year to create numeric values in a resource that can then be used to fill in a DateType structure. -- Ken -- Ken Krugler TransPac Software

Re: OS 5 Simulator, FrmCustomAlert(), text can't end with blank line error

2004-01-08 Thread Ken Krugler
blahLF^2, thus setting the second parameter to (versus NULL) would suppress the warning. -- 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/support

Re: TxtFind and International Feature Manager brain dead?

2003-12-27 Thread Ken Krugler
related routines throughout the OS assume that they're getting passed single-byte text. -- 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/support

Re: Who sets prefMeasurementSystem?

2003-12-26 Thread Ken Krugler
to be the same as the system locale. The set of countries displayed in the Formats panel and Welcome app are based on the set of locales that the Locale Mgr knows about, which is derived from the contents of the 'locs' (or 'alcs' in ARM-land) system resource. -- Ken -- Ken Krugler TransPac Software, Inc

Re: Who sets prefMeasurementSystem?

2003-12-24 Thread Ken Krugler
(in prefs) to match the selected locale. So if you're running on 4.0 or later, and have selected Canada in the popup list, then the prefs setting should be metric. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer

Re: Key Q size

2003-12-24 Thread Ken Krugler
At 9:05am -0800 2003-12-24, Ken Krugler wrote: 1) What is the total size(in bytes) of the system Key Queue in Palm OS 4.1 and above ? Call EvtKeyQueueSize() to find out. 2) In what conditions do we get this error Bus Error-Connect to Debugger Got me. It's useful to provide more context when

Re: Who sets prefMeasurementSystem?

2003-12-23 Thread Ken Krugler
, as provided by the Locale Mgr, which in turn is read from the 'locs' (68K) or 'alcs' (ARM) system resource. -- 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

Re: Adding a scrollbar dynamically

2003-12-20 Thread Ken Krugler
being able to load a form resource you really don't have a good alternative to implementing it yourself. Though if you signed the NDA and have access to the source code, you'll see that it wouldn't be all that hard if it turns out that's your only option. -- Ken -- Ken Krugler TransPac Software

Re: Multibyte strings

2003-12-19 Thread Ken Krugler
-- 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/support/forums/

Re: Multibyte strings

2003-12-19 Thread Ken Krugler
-- Ken Krugler +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Add a menu item to system menu

2003-12-15 Thread Ken Krugler
, and then do your mail thing. -- Ken -- Ken Krugler +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Add a menu item to system menu

2003-12-13 Thread Ken Krugler
as the positionId parameter, and your own (hopefully unique) command id. When your SysHandleEvent sees a menuEvent, and the id == your unique command id, call FrmGetActiveField to get the field, and then do your mail thing. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470

Re: Determining areas of the screen

2003-12-07 Thread Ken Krugler
-- 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/support/forums/

Re: May be a silly question...converting string to uppercase

2003-12-05 Thread Ken Krugler
function in the Palm OS String API. maybe TxtTransliterate(..., translitOpUpperCase) is what you are looking for? markus dresch (www.palmside.com) -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe

Re: Retrieving text (as a string) from middle of a string

2003-12-02 Thread Ken Krugler
functions. Is there anything like it for PalmOS? -- Ken Krugler +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: chrDelete in palm

2003-12-02 Thread Ken Krugler
Is chrDelete command char disfunctional in palm os 4.1 5.0 ? We enqueued it as follows : EvtEnqueueKey(chrDelete,0,0); But it does not act upon it . The OS simply ignores this char . Is something missing here ? Use chrBackspace, not chrDelete. -- Ken -- Ken Krugler +1 530-470-9200

RE: WinDrawChar problem with some high ascii

2003-12-01 Thread Ken Krugler
value is still sign-extended to 16-bits. What you need is: WinDrawChar((UInt8)c, position + bounds.topLeft.x, y); -- 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

Re: How do I know whether undo is available?

2003-11-24 Thread Ken Krugler
without looking at low-memory globals used by the field code to keep track of the undo state. -- 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/support

  1   2   3   4   5   >