Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.