Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Language
Message
De
04/04/2014 04:29:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
04/04/2014 03:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598017
Message ID:
01598025
Vues:
39
Hi Gregory!

So this is LANG*
and now SUBLANG?

because the return of GetUserDefaultUILanguage is just 7 - Lang_GERMAN That willl include for example SUBLANG_GERMAN_LIECHTENSTEIN or SUBLANG_GERMAN what is a slight differnce :)

Lutz

>>I look for a way to get the language of Windows from within my VFP 9 application.
>>This is to give messages in a language depending on the user's language.
>>
>>TIA
>>Gerhard
>
>see http://msdn.microsoft.com/en-us/library/windows/desktop/dd318137(v=vs.85).aspx
>
>
>declare integer GetUserDefaultUILanguage in kernel32
>
>lang = bitand(0x3ff,GetUserDefaultUILanguage())
>
>Then look in foxpro.h under *  Primary language IDs.
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform