Changeset 3108 for trunk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- Mar 14, 2000, 4:01:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r3101 r3108 1 /* $Id: oslibmsgtranslate.cpp,v 1.2 3 2000-03-13 13:10:46sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.24 2000-03-14 15:01:00 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 195 195 if(ISMOUSE_CAPTURED()) 196 196 { 197 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 197 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 198 198 goto dummymessage; //dinput swallowed message 199 } 199 200 } 200 201 … … 231 232 if(ISMOUSE_CAPTURED()) 232 233 { 233 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 234 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 234 235 goto dummymessage; //dinput swallowed message 236 } 235 237 } 236 238 //OS/2 Window coordinates -> Win32 Window coordinates … … 449 451 if(ISMOUSE_CAPTURED()) 450 452 { 451 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 453 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 452 454 goto dummymessage; //dinput swallowed message 455 } 453 456 } 454 457 … … 485 488 if(ISMOUSE_CAPTURED()) 486 489 { 487 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 490 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 488 491 goto dummymessage; //dinput swallowed message 492 } 489 493 } 490 494 //OS/2 Window coordinates -> Win32 Window coordinates … … 645 649 if(ISKDB_CAPTURED()) 646 650 { 647 if(DInputKeyBoardHandler(winMsg)) 651 if(DInputKeyBoardHandler(winMsg)) { 648 652 goto dummymessage; //dinput swallowed message 653 } 649 654 } 650 655 break; … … 741 746 default: 742 747 dummymessage: 748 winMsg->message = 0; 749 winMsg->wParam = 0; 750 winMsg->lParam = 0; 743 751 return FALSE; 744 752 }
Note:
See TracChangeset
for help on using the changeset viewer.