How To Determine Default Language ID of Windows 95 or WinNT (181604)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q181604 SUMMARY
Some applications need to get the operating system's language ID.
GetSystemDefaultLangID doesn't work, because the user can change it in the
Control Panel.
For example, on English Windows 95, the user opens Control Panel, clicks
Regional Settings, and changes the setting from English US to French France
in the Regional Settings Properties dialog box. As a result,
GetSystemDefaultLangID changes to French too. On Windows NT, the user
clicks Control Panel, clicks Regional Settings, and opens the Regional
Settings Properties dialog box. In the Regional Settings Properties dialog
box, the user selects a different Locale in a different language, selects
the "Set as system default locale" check box, and then restarts the
computer. As a result GetSystemDefaultLangID changes to the new language
too.
This article explains more reliable methods you can use to get the
installed operating system's language ID.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbhowto kbIntl kbIntlDev KB181604 |
---|
|