Using Win32 functions in Visual FoxPro Image Gallery
Multilingual User Interface
Code examples:
..msdn    Add comment     W32 Constants      Translate this page
Returns the language identifier for the user UI language for the current user.
Code examples:
LANGID GetUserDefaultUILanguage(void);
FoxPro declaration:
DECLARE SHORT GetUserDefaultUILanguage IN kernel32
This function has no parameters.
Return value:
Returns the language identifier for the user UI language for the current user.
? 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 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: 16
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
7 sec.
Function group: 'Simple MAPI'
13 sec.Function: 'GlobalReAlloc'
19 sec.
Function group: 'Terminal Services'
26 sec.Function: 'SQLConfigDataSource'
33 sec.Function: 'JetPrepareUpdate'
41 sec.Function: 'PostQuitMessage'
49 sec.Function: 'GdipGetImageFlags'
1.07 min.Function: 'CeReadFile'
1.22 min.Function: 'LocalSize'
1.33 min.Function: 'GetDateFormat'
Advertise here!