Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 877047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:32:29+00:00 2026-05-15T11:32:29+00:00

Windows 7 and Windows Vista have a Region and Language control panel which contains

  • 0

Windows 7 and Windows Vista have a Region and Language control panel which contains a Formats tab which contains a popup menu titled Format. This menu allows the user to select from among many language-oriented sets of number, currency, time, and date formatting preferences regardless of the language of the base system. For example, I could decide I prefer the default currency symbol to be Japanese yen on a US English system. I don’t care about the currency symbol in particular; that was just an example. I’m referring here to the sets of preferences which may be applied by selecting items from the Format menu.

The Windows Contacts application appears to change its behavior based on the selection in this menu. For example, if I select Japanese, Windows Contacts displays and lets me edit phonetic names (AKA “ruby”, “yomi”, and “furigana”) but not middle names. If I select US English, then Windows Contacts displays and lets me edit middle names but not phonetic names.

I need to write code (native C calling Win32 on XP SP2 and later) which mirrors the behavior of the Windows Contacts application in this respect. Which API should I call?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:32:29+00:00Added an answer on May 15, 2026 at 11:32 am

    The question seems to combine two kinds of features.

    Using the Control Panel applet, a general language setting can be selected and then individual formatting items are given default values associated with that language setting.

    If you want to retrieve the user’s overall language setting then just get the user’s default LCID or something of that sort.

    If you want to retrieve individual formatting items, I think you need the CRT function locale(). The Win32 API SetLocaleInfo can set the user overrideable portion of the locale. However, at least as documented, GetLocaleInfo and GetLocaleInfoEx (Vista and later only) get information associated with some existing locale rather than from user overrides. The standard C locale() function should work though.

    Your question asks about how to retrieve individual formatting items, but then you say you have to key on the user’s selected general locale instead of the individual formatting items. From your description of the Windows Contacts application, it sounds like you need GetUserDefaultLCID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Installed ActiveX control on windows vista.. using Internet Explorer and cab file..
I am running Windows Vista and have an error in my Android application which
Windows 7 and Vista have the .NET 2.0/3.5 language runtime installed, so whatever you
I have noticed that the Windows Vista/7 dialogs look MUCH better than just a
I am using Windows Vista 32bit . I have installed Eclipse Helios Service Release
I have a directory of many files in Windows Vista. I'd like in a
We have a C# application that works fine on windows XP and windows vista
At work, we have migrated from Windows XP to Windows Vista. After the migration,
I'm trying to install bcrypt-ruby on Windows Vista. So far, I have been able
Noob question, apologies. I'm compiling Java in Windows Vista's command-line and have so many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.