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 909135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:49:40+00:00 2026-05-15T16:49:40+00:00

On XP, if you go to control panel -> regional and language Options ->

  • 0

On XP, if you go to

control panel -> regional and language Options -> Languages Tab -> Details -> 

If you have more than one keyboard in use, then, click Key Settings. Those are the settings I would like to change. I would like to set it up so that the DVORAK keyboard is Left Alt + Shift + 1. I can use C++, C# or whatever. I already know how to load a keyboard:

HKL dvorakhkl = LoadKeyboardLayout(TEXT("00010409"), 0);

That loads the dvorak keyboard. This sets it to default:

SystemParametersInfo(SPI_SETDEFAULTINPUTLANG, 0, (PVOID)&dvorakhkl, 0);

Also, I can change the top part of said dialog box

“Switch between Input Languages”

UINT val = 1;//"1" = ALT+SHIFT, "2" = CTRL+SHIFT, and "3" = none.
System.ParametersInfo(SPI_SETLANGTOGGLE, 0, 0, val);

Let me know if you can help. Thanks!

Aaron

  • 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-15T16:49:41+00:00Added an answer on May 15, 2026 at 4:49 pm

    By default all programs use the C local (Because we all program in C dialects I suppose)

    You can imbue streams with an appropriate local.
    Just remember that you must imbue the stream before opening/using it. An attempt to imbue a stream after it has been opened/used will be silently ignored.

    This means that for std::cin and std::cout you should probably do it immediately on startup in main() to avoid the potential of them being used.

    When creating a locale object if you specify the empty striung it will pick up the name of the local from the environment (ie one of the environment variables).

    See:
    http://www.cplusplus.com/reference/iostream/ios_base/imbue/

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

Sidebar

Related Questions

Within Control Panel -> Regional and Language Options, there is a Formats tab, with
In Control Panel-> Regional and language options-> Regional Options-> Standard and formats, there is
I have an Panel control that I need to maintain position across postbacks. I
I'm trying to build a very simple VPS control panel; i have the following
Ok, I have made a twitter-style control panel to apply filters and sorting to
I am considering adding OpenID to our customer facing admin and control panel areas...
I am writing my own control that will contain a panel with text, images
I've been trying to create a custom control that works exactly like the Panel
I have a form that will multiple Panel controls stacked on top of each
I have a Panel and I am adding controls inside this panel. But there

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.