- Timestamp:
- Mar 23, 2004, 5:50:08 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r10505 r10554 1 /* $Id: oslibmsgtranslate.cpp,v 1.12 1 2004-03-11 13:42:00sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.122 2004-03-23 16:50:08 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 1155 1155 if(!(fl & KC_CHAR) && msg->message < WINWM_SYSKEYDOWN) 1156 1156 { 1157 return FALSE;1157 return FALSE; 1158 1158 } 1159 1159 … … 1163 1163 if((fl & (KC_VIRTUALKEY|KC_COMPOSITE)) == KC_VIRTUALKEY) 1164 1164 { 1165 if(msg->wParam) 1166 { 1167 if ((msg->wParam >= VK_NUMPAD0_W) && 1168 (msg->wParam <= VK_NUMPAD9_W)) 1169 extramsg.wParam = msg->wParam - 0x30; 1170 else 1171 if (msg->wParam == VK_DECIMAL_W) 1172 extramsg.wParam = VK_DELETE_W; 1173 else 1174 /* PM Sends Bogus Things when pressing Shift+NUMAsterisk */ 1175 if (msg->wParam != VK_MULTIPLY_W) 1176 extramsg.wParam = msg->wParam; 1177 } 1178 else 1179 extramsg.wParam = SHORT2FROMMP(teb->o.odin.os2msg.mp2); 1165 if(!msg->wParam) 1166 {//TODO: Why is this here???? 1167 DebugInt3(); 1168 extramsg.wParam = SHORT2FROMMP(teb->o.odin.os2msg.mp2); 1169 } 1180 1170 } 1181 1182 1171 1183 1172 //After SetFocus(0), all keystrokes are converted in WM_SYS*
Note:
See TracChangeset
for help on using the changeset viewer.