Frank
Frank

Reputation: 11

How to determine current keyboard language in C++ console application?

Need c++ function from windows.h that returns current keyboard language for the active window.

Upvotes: 0

Views: 3380

Answers (1)

nullptr
nullptr

Reputation: 11058

Try using GetKeyboardLayout function: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646296(v=vs.85).aspx

Upvotes: 1

Related Questions