WM_CHAR translates virtual keys correctly by itself. For key combinations with CTRL we can't use WM_CHAR so we have to map virtual keys to characters manually. With these changes, all OEM virtual keys are now translated to their character equivalents using the correct locale.
WM_CHAR translates virtual keys correctly by itself. For key combinations with CTRL we can't use WM_CHAR so we have to map virtual keys to characters manually. With these changes, all OEM virtual keys are now translated to their character equivalents using the correct locale.