Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do we identify keycode for Enter Key on Number Pad
Message
 
À
12/10/1999 11:18:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00274514
Message ID:
00275709
Vues:
27
Information about scan codes and extended keyboard flags is passed in the parameters to windows messages WM_KEYDOWN and WM_KEYUP.

If you want to process those messages, and modify the Enter in the numeric pad to behaves as Tab, then you have to build a DLL, and use the API function SetWindowsHookEx(WH_KEYBOARD,...).

>William:
>In the old DOS days, I had a chart that returned the key codes that are generated by the keyboard's BIOS. The Keyboard's BIOS, had a unique code for almost every key, but often the same keycode was sent to the keyboard buffer that DOS sent on to the development tool. I seem to remember that Borland Pascal allowed me to differentiate between the key on the QWERTY side. If someone knows how to get to the actual DOS keyboard buffer during Windows programming, I can try to find the info.
>
>Mike

Just an opinion... Not a fact.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform