Changeset 9928 for trunk/src/user32
- Timestamp:
- Mar 20, 2003, 10:15:31 AM (23 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsg.cpp
r9791 r9928 1 /* $Id: oslibmsg.cpp,v 1.6 5 2003-02-13 10:12:24sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.66 2003-03-20 09:15:31 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 31 31 #define INCL_PM 32 32 #define INCL_DOSPROCESS 33 #define INCL_WINMESSAGEMGR 34 #define INCL_DOSSEMAPHORES 35 #define INCL_DOSERRORS 33 36 #include <os2wrap.h> 34 37 #include <odinwrap.h> -
trunk/src/user32/window.cpp
r9791 r9928 1 /* $Id: window.cpp,v 1.13 1 2003-02-13 10:12:27sandervl Exp $ */1 /* $Id: window.cpp,v 1.132 2003-03-20 09:15:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 1731 1731 #endif 1732 1732 { 1733 DWORD dwThreadId = GetCurrentThreadId(); 1734 1735 //Don't send WM_NCHITTEST if this window doesn't belong to the current thread 1736 if(dwThreadId != GetWindowThreadProcessId(hwnd, NULL)) 1737 { 1738 return TRUE; 1739 } 1733 1740 hittest = SendMessageA(hwnd, WM_NCHITTEST, 0, MAKELONG(point.x, point.y)); 1734 1741 if(hittest != HTTRANSPARENT) { -
trunk/src/user32/windowmsg.cpp
r9865 r9928 1 /* $Id: windowmsg.cpp,v 1.4 0 2003-02-27 14:22:22sandervl Exp $ */1 /* $Id: windowmsg.cpp,v 1.41 2003-03-20 09:15:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window message APIs for OS/2 … … 169 169 BOOL WIN32API WaitMessage(void) 170 170 { 171 dprintf2(("USER32: WaitMessage")); 172 return OSLibWinWaitMessage(); 171 #ifdef DEBUG 172 MSG msg; 173 174 if(PeekMessageA(&msg, 0, 0, 0, PM_NOREMOVE) == FALSE) { 175 dprintf2(("USER32: WaitMessage %x", GetThreadHAB())); 176 } 177 else dprintf2(("USER32: WaitMessage %x; message %x present", GetThreadHAB(), msg.message)); 178 #endif 179 180 BOOL ret = OSLibWinWaitMessage(); 181 #ifdef DEBUG 182 if(PeekMessageA(&msg, 0, 0, 0, PM_NOREMOVE) == FALSE) { 183 dprintf2(("USER32: WaitMessage returned with no message in the queue")); 184 } 185 #endif 186 return ret; 173 187 } 174 188 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.