Microsoft KB Archive/126625

{|
 * width="100%"|

HOWTO: Change the International Settings Programmatically

 * }

Q126625

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

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.

Additional query words:

Keywords : kbOSWinNT350 kbOSWinNT351 kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbSysSettings kbGrpDSUser kbOSWin95 kbOSWin98 kbIntlDev

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch