Using Win32 functions in Visual FoxPro Image Gallery
Multilingual User Interface
GetProcessPreferredUILanguages
GetThreadUILanguage
GetUserDefaultUILanguage
SetProcessPreferredUILanguages
Code examples:
GetThreadUILanguage
..msdn    Add comment     W32 Constants      Translate this page
Returns the language identifier of the first user interface language for the current thread.
Code examples:
Declaration:
LANGID GetThreadUILanguage(void);
FoxPro declaration:
DECLARE SHORT GetThreadUILanguage IN kernel32
Parameters:
This function has no parameters.
Return value:
Returns the identifier for a language explicitly associated with the thread by SetThreadUILanguage or SetThreadPreferredUILanguages
Usage:
? GetThreadUILanguage()  && e.g. 1033
My comment:
If no language has been explicitly associated with the current thread, the identifier can indicate a user or system user interface language.

Important: declare returned value as SHORT (2 bytes).
Word Index links for the GetThreadUILanguage :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2015-01-21 16:44:09
Modified: 2015-01-21 16:46:04
Visited in last 7 days: 5
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.178.153)
15 sec.Function: 'GetFileType'
30 sec.Function: 'NetServerGetInfo'
46 sec.
Function group: 'Filled Shape'
1.03 min.Function: 'GetTempPath'
1.3 min.Function: 'UuidCreateNil'
1.53 min.Function: 'FindFirstUrlCacheEntry'
1.8 min.Function: 'GetTempFileName'
2.07 min.Function: 'DeleteVolumeMountPoint'
2.38 min.Function: 'waveOutGetDevCaps'
2.65 min.Function: 'WSASend'
Google
Advertise here!