Introduction - If you have any usage issues, please Google them yourself
Handling the message: if you need to read the keyboard characters the window, handle WM_CHAR message if you need to read cursor keys, function keys, Delete key, Insert key, Shift key, Ctrl key, Alt key, then handle WM_KEYDOWN message.