[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Change a current language from a program

Hi to everybody,

My platform is WIN98 / VC6.
How can I change a current language in the system (that we see in right down corner of the screen) inside my program?
Is there some API or COM interface? I want to change the language in some situation automatically, without pressing ALT-SHIFT.

Thanx for any help.
0
tulin
Asked:
tulin
  • 2
1 Solution
 
tulinAuthor Commented:
Edited text of question.
0
 
AlexVirochovskyCommented:
For test current language you can use
API GetKeyboardLayoutName(szName)
For set: LoadKeyboardLayout
and ActivateKeyboardLayout
(see more detailes in Windows doc).
I hope, it helps. Alex
0
 
tulinAuthor Commented:
Thank you, Alex, it works!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now