title: Win API to change keyboard language programmatically in C++
body: <p>I want to change the input language in Windows7  programmatically. <p>
  I have been used <code>LoadKeyboardLayout</code> and <code>ActivateKeyboardLayout</code>, <p>
  try to change my keyboard language, but it only work on Windows XP<p>
  Is there any other API to suport that?</p>
  
  <p>Thanks</p>