Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Language
Message
From
04/04/2014 03:58:22
 
 
To
04/04/2014 03:28:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01598017
Message ID:
01598021
Views:
110
This message has been marked as the solution to the initial question of the thread.
>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.
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform