Changeset 10212 for trunk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- Aug 6, 2003, 1:00:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r10190 r10212 1 /* $Id: oslibmsgtranslate.cpp,v 1.11 3 2003-07-31 15:56:44sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.114 2003-08-06 11:00:45 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 62 62 // by GetMessage & PeekMessage 63 63 // 64 // NOTE: Automatically converts ascii character code to UTF-16 if the target 65 // window is unicode. 64 // NOTE: WM_CHAR message always in ascii format 66 65 // 67 66 //****************************************************************************** … … 72 71 // there's still an already translated message to be processed 73 72 return FALSE; 74 75 //Unicode windows expect the character code in UTF-1676 if(IsWindowUnicode(pExtraMsg->hwnd))77 {78 CHAR charA;79 WCHAR charW;80 81 charA = pExtraMsg->wParam;82 MultiByteToWideChar(CP_ACP, 0, &charA, 1, &charW, 1);83 pExtraMsg->wParam= charW;84 dprintf(("setThreadQueueExtraCharMessage: Convert to Unicode src=%x res=%x", charA, charW ));85 }86 73 87 74 teb->o.odin.fTranslated = TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.