Using Win32 functions in Visual FoxPro Image Gallery
Multilingual User Interface
GetProcessPreferredUILanguages
GetThreadUILanguage
GetUserDefaultUILanguage
SetProcessPreferredUILanguages
Code examples:
GetUserDefaultUILanguage
..msdn    Add comment     W32 Constants      Translate this page
Returns the language identifier for the user UI language for the current user.
Code examples:
Declaration:
LANGID GetUserDefaultUILanguage(void);
FoxPro declaration:
DECLARE SHORT GetUserDefaultUILanguage IN kernel32
Parameters:
This function has no parameters.
Return value:
Returns the language identifier for the user UI language for the current user.
Usage:
? GetUserDefaultUILanguage()  && e.g. 1033
My comment:
If the current user has not set a language, GetUserDefaultUILanguage returns the preferred language set for the system.

If there is no preferred language set for the system, then the system default UI language (also known as "install language") is returned.

Important: declare returned value as SHORT (2 bytes).
Word Index links for the GetUserDefaultUILanguage :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2015-01-21 16:47:23
Modified: 2015-01-21 16:49:14
Visited in last 7 days: 9
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.225.47.94)
6 sec.Function: 'GetDeviceDriverFileName'
11 sec.Function: 'MoveFile'
16 sec.Function: 'WSARecv'
21 sec.Function: 'waveOutGetNumDevs'
27 sec.Function: 'GdipSetPageUnit'
33 sec.Function: 'mixerOpen'
40 sec.Function: 'GetMailslotInfo'
46 sec.Function: 'EndDoc'
53 sec.Function: 'NetWkstaTransportEnum'
1 min.Function: 'CreateVirtualDisk'
Google
Advertise here!