Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically changing keyboard language
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00840947
Message ID:
00840962
Vues:
34
This message has been marked as a message which has helped to the initial question of the thread.
hI jAIME.

<>How do i change the keyboard input language from within VFP? I should need in fact two functions: one that lets me query the current language, and one that lets me select the desired language ( equivalent to using the LEFTALT-LEFTSHIFT key combination ).

You can do this uysing the WinAPI. To query the current language:

DECLARE INTEGER GetKeyboardLayout IN user32 INTEGER idThread

To select the desired language:

DECLARE INTEGER ActivateKeyboardLayout IN user32 INTEGER hkl, INTEGER Flags
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform