Beginner Question Virtual Key Code to ascii
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
-
greetings, i am working on a dll hook project in this function LRESULT CALLBACK MyProc(int nCode, WPARAM wParam, LPARAM lParam) wParam gets the virtual key code whats the best way to convert the virtual key code to ascii? thanks for your time:confused:
The virtual key codes for 0-9 and A-Z are, conveniently enough, '0' to '9' and 'A' to 'Z'. If you need more info on the key codes, see winuser.h, and there's a list of the codes in MSDN. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.