Changeset 2426 for trunk/src/user32/new/oslibmsgtranslate.cpp
- Timestamp:
- Jan 13, 2000, 2:54:55 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibmsgtranslate.cpp
r2418 r2426 1 /* $Id: oslibmsgtranslate.cpp,v 1.1 2 2000-01-12 15:14:15sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.13 2000-01-13 13:54:52 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 23 23 #include <misc.h> 24 24 #include "oslibmsg.h" 25 #include <win32wnd.h> 25 #include "win32wnd.h" 26 #include "win32wdesktop.h" 26 27 #include "oslibutil.h" 27 28 #include "timer.h" … … 104 105 ULONG GetMouseKeyState() 105 106 { 106 ULONG keystate ;107 ULONG keystate = 0; 107 108 108 109 if(WinGetKeyState(HWND_DESKTOP, VK_BUTTON1) & 0x8000) … … 349 350 if(WinQueryWindowULong(hwndActivate, OFFSET_WIN32PM_MAGIC) != WIN32PM_MAGIC) { 350 351 //another (non-win32) application's window 351 //set to NULL (allowed according to win32 SDK) to avoid problems352 hwndActivate = NULL;352 //set to desktop window handle 353 hwndActivate = windowDesktop->getWindowHandle(); 353 354 } 354 355 else hwndActivate = Win32BaseWindow::OS2ToWin32Handle(hwndActivate); … … 441 442 winMsg->wParam = (WPARAM)hittest; 442 443 winMsg->lParam = MAKELONG(winMsg->pt.x,winMsg->pt.y); 443 } else 444 } 445 else 444 446 { 445 447 winMsg->message = WINWM_MOUSEMOVE;
Note:
See TracChangeset
for help on using the changeset viewer.