> > It's true that there is no documented way to add a locale that you
> > can select using OmSetSystemLocale. But one more time - the Locale
> > Manager & the set of locales it "knows" about have nothing to do with
> > whether you can successfully call OmSetSystemLocale with the frCA
> > locale.
>
> > What Ted wants is to be able to use an frCA overlay with his app.
> > For this to work, the device's current locale has to be frCA.
>
>Well, there are two functions OmGetSystemLocale and OmGetCurrentLocale.
>Since, I couldn't find OmSetCurrentLocale, I assume that the current locale
>comes somewhere from Application prc ('ovly' resource ? )
No. Re-read my previous posts on how to change the current locale via
altering the values of two system features. The current locale is
typically the same as the system locale, but it can be altered via
FtrSet calls.
>This might solve Ted's problem. The system locale is frFR which is OK since
>we are not going to dupplicate system data bases, but Ted's application
>assumes frCA. In this case Ted needs to supply frCA overlays for his own
>application only, and he can use 'standard' DmGetResource and DmGet1Resource
>for frCA! Right ?
Wrong. The frCA overlays will only get auto-loaded if the current
locale is also frCA, and the current locale has nothing to do with
the contents of the either the application PRC or the overlay PRC.
But as Kevin noted in his email, Ted could just open up the overlay
himself.
-- 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/