Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Keyboard Language

Status
Not open for further replies.

CedarRose

Programmer
Jul 22, 2009
1
CY
Is it possible to change the keyboard language from English to Arabic in Clipper?

I have two list boxes, one of which needs to default to English and the other to Arabic.

Would be grateful for any help.
 
You need to call the LoadKeyboardLayout and ActivateKeyboardLayout functions, but they are not directly available in Clipper, so you probably need some C or assembly routine to call them for you.
I don't have much experience with these tricks, at least not from Clipper, but it know it would be much easier if you where using (x)Harbour, that allows for simple integration with C calls in general (using some #pragma definition, don't know much about that either)
The docs for the *layout functions can be found on MSDN.

HTH
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top