HOWTO: Use SetThreadLocale() for Language Resources

ID: Q99392


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


SUMMARY

Under Windows NT, each resource loading application programming interface (API) is based on the thread's locale. Each thread has a locale--usually the default system locale.

You can change the thread locale by calling SetThreadLocale(). To obtain the language resource you want, just set the thread locale to the locale you want, then call the normal resource loading API.

Additional query words:

Keywords : kbNTOS kbWinOS2000 kbResource kbSDKWin32 kbGrpUser kbWinOS95 kbWinOS98 kbIntlDev
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.