Discussion Locked

ActivateKeyBoardLayOut

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to switch from arabic to english keyboard layout and vice versa.
I used ActivateKeyBoardLayOut(LoadKeyBoardLayOut('0000040D',KLF_ACTIVATE),KLF_REORDER);
but it does not work properly on winxp.
may be '0000040D' does not represent arabic inwinxp?

3 replies

by joacim andersson

This is a list of different Arabic language identifiers taken from the MSDN Library.
0x0401 Arabic (Saudi Arabia)
0x0801 Arabic (Iraq)
0x0c01 Arabic (Egypt)
0x1001 Arabic (Libya)
0x1401 Arabic (Algeria)
0x1801 Arabic (Morocco)
0x1c01 Arabic (Tunisia)
0x2001 Arabic (Oman)
0x2401 Arabic (Yemen)
0x2801 Arabic (Syria)
0x2c01 Arabic (Jordan)
0x3001 Arabic (Lebanon)
0x3401 Arabic (Kuwait)
0x3801 Arabic (U.A.E.)
0x3c01 Arabic (Bahrain)
0x4001 Arabic (Qatar)

Best regards

This discussion is closed to new replies.