Add a WM_CHAR case to process ANSI-character input. Add the following statements to the window function:
case WM_CHAR:
wsprintf(CharacterText, “WM_CHAR: %c, %x, %x”,
wParam, LOWORD(lParam), HIWORD(lParam));
InvalidateRect(hWnd, &rectCharacter, TRUE);
break;