Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activatekeyboardlayout
Message
 
 
À
26/10/2003 23:01:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00842573
Message ID:
00842791
Vues:
20
>hi sergey
>when i use from this api it is not work in win2000/winxp correctly like in win98
>i use this function in textbox(gotfocus) and when texbox got focus keyboard swithed between righttoleft and lefttoright by parameters (in win98)
>i use win98se arabic edition
>tank sergey

What do you mean, "It doesn't work"? Do you get any error? What is code returned by ActivateKeyboardLayout? If it indicates an error, what the GetLastError function returns? You can try to load first
DECLARE Long LoadKeyboardLayout IN User32 String, Long Flags
kl = LoadKeyboardLayout("00000401",0)
kl_prev = ActivateKeyboardLayout(kl,0)
...
* Restore previous 
kl_prev = ActivateKeyboardLayout(kl_prev,0)
Can you switch manually, using keyboard shorcut or systray icon?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform