Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To intercept keyboard key.
Message
De
02/02/2004 16:09:57
 
 
À
02/02/2004 15:44:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00873123
Message ID:
00873139
Vues:
21
OK. Then he has quite a job to do, if he is not able to modify the application. I guess he has to do what I had to do 8-10 years ago, namely modify the Windows keyboard description file, and let that file be 'active' when he runs his application. The keyboard description file is basically a file which intercepts the scan codes from the keyboard and replaces each scan code with 'code' which windows 'understands'.

That was (and still is, AFAIK) the only way to get windows to accept the decimal point on the numeric keyboard as a point (.) and not a komma (,) which oddly enough is the standard in many countries, including Norway. Extremely frustrating, to say the least, when VFP only accepts decimal point, and not decimal komma in the IDE. Since I am not able to modify these files anymore, because newer Windows believe the files are 'hacked', I now have to adjust to Microsoft's opinion about the world, and if I am not awake, I make many errors. I hope Microsoft will eventually ubderstand that this is a VERY big problem for us programmers who live where decimal komma is standard.

>>You can easily do this in Keypress
>>
>>>Hi all!
>>>
>>>How I would obtain to intercept for example the keyboard key "a" and make to appear the character "B" ? Already I searched the respect and I do not obtain to find a way, somebody could help me?
>>>
>>>Thanks for the attention of all.
>>>
>Hi Tore
>
>I have followed the last thread of Lazaro and he want to do the equivalent of keypress but for an external application..
>
>CLaudio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform