Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do we identify keycode for Enter Key on Number Pad
Message
 
To
12/10/1999 11:18:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00274514
Message ID:
00275709
Views:
28
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform