Changeset 7370 for trunk/src/user32/oslibmsg.cpp
- Timestamp:
- Nov 16, 2001, 6:47:05 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsg.cpp
r7223 r7370 1 /* $Id: oslibmsg.cpp,v 1. 49 2001-10-26 17:48:21 sandervlExp $ */1 /* $Id: oslibmsg.cpp,v 1.50 2001-11-16 17:47:05 phaller Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 35 35 #include "oslibwin.h" 36 36 #include <win\hook.h> 37 #include <winscan.h> 38 #include <winkeyboard.h> 37 39 38 40 #define DBG_LOCALLOG DBG_oslibmsg … … 206 208 //****************************************************************************** 207 209 //****************************************************************************** 210 211 static void i_MostUglyAltGrHack(LPMSG pMsg) 212 { 213 switch (pMsg->message) 214 { 215 case WINWM_KEYUP: 216 case WINWM_SYSKEYUP: 217 USHORT wWinScan = (pMsg->lParam & 0x00ff0000) >> 16; 218 if (wWinScan == WINSCAN_ALTRIGHT) 219 { 220 KeySetOverlayKeyState(VK_RMENU_W, KEYOVERLAYSTATE_DONTCARE); 221 KeySetOverlayKeyState(VK_MENU_W, KEYOVERLAYSTATE_DONTCARE); 222 } 223 break; 224 } 225 } 226 227 208 228 BOOL OSLibWinGetMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, UINT uMsgFilterMax, 209 229 BOOL isUnicode) … … 262 282 } 263 283 284 i_MostUglyAltGrHack(pMsg); 285 264 286 return (pMsg->message != WINWM_QUIT); 265 287 } … … 322 344 } 323 345 346 i_MostUglyAltGrHack(pMsg); 347 324 348 return rc; 325 349 }
Note:
See TracChangeset
for help on using the changeset viewer.