How To Change the International Settings Programmatically
Article ID: 126625
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition
This article was previously published under Q126625
SUMMARY
The International control panel icon allows you to choose international
settings for the time, date, keyboard, and so forth. You can change
these settings from your application code by calling SetLocaleInfo(). Be
sure to broadcast a WM_WININICHANGE message using PostMessage() so that all
applications are notified of the change.
The Win32 API allows you to display the time and date in the correct
international format. Use GetDateFormat() and GetTimeFormat() to get the
date and time in the format specified by the user.
Keywords: kbhowto kbintldev kbsyssettings KB126625