Thread: Get windows Keyboard layout

  1. #1
    Registered User
    Join Date
    Sep 2007
    Location
    Ukraine
    Posts
    2

    Get windows Keyboard layout

    Hello!

    How can i get Keyboard Layout value from Windows (registry?), that is applied right now?

    explanation:
    I have software, that is running on WinXP machine.
    This software is running instead of explorer, so i cant see "Keyboard input language icon".
    And i have to create an application, that must display this information for my customers.

    Maybe You have an solution. it can be programming or not programming solution.

    Thanks.

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    GetKeyboardLayoutName() gets the name (eg 409 for English) of the active keyboard layout.
    LoadKeyboardLayout() for loading new keyboard layouts.
    ActivateKeyboardLayout() to activate an already loaded keyboard layout.
    GetKeyboardLayoutList() gets the list of loaded keyboard layouts.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    Registered User
    Join Date
    Sep 2007
    Location
    Ukraine
    Posts
    2
    Thanks!
    Seems its working fine.

    Subject is closed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simulate keyboard events on windows xp
    By xximranxx in forum Windows Programming
    Replies: 4
    Last Post: 04-26-2007, 05:43 PM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM