I dont know why WM_CHAR is not processing the key VK_DELETE it process VK_RETURN and VK_BACK and i need VK_DELETE. I need WM_CHAR so i will not use WM_KEYDOWN or its the ultimate solution?
Posted on 2004-04-24 03:08:47 by Ateneo
Ateneo,
First of all, WM_CHAR only processes ASCII character messages. If you want to non-ASCII character messages, process the keystroke messages WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN, WM_SYSKEYUP. The keyboard keys SHIFT, DELETE, PAGE UP, PAGE DOWN, F1-F12, etc do NOT generate a WM_CHAR message. Use the program in the enclosed zip file to see what the keyboard keys generate. Ratch
Posted on 2004-04-24 06:50:48 by Ratch
Thats a handy little tool there Ratch, thanks for sharing :alright:

:NaN:
Posted on 2004-04-24 09:17:04 by NaN
Nan,
That tool is found in Programming Windows, 5th edition by Charles Petzold. I transcribed it from C to MASM, but the basic idea was his. Ratch
Posted on 2004-04-24 09:30:32 by Ratch
Yes i will use WM_KEYDOWN.
By the way the program you "sent" me throw me a bad read memory error :)
Posted on 2004-04-24 11:28:08 by Ateneo