Changeset 2309 for trunk/src/user32/new/oslibmsgtranslate.cpp
- Timestamp:
- Jan 3, 2000, 9:53:50 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibmsgtranslate.cpp
r2292 r2309 1 /* $Id: oslibmsgtranslate.cpp,v 1. 3 2000-01-02 19:30:43cbratschi Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.4 2000-01-03 20:53:49 cbratschi Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 139 139 case WM_BUTTON3DBLCLK: 140 140 //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window 141 if( win32wnd->lastHitTestVal != HTCLIENT_W) {141 if((win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) { 142 142 winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN); 143 143 winMsg->wParam = win32wnd->lastHitTestVal; … … 183 183 184 184 //WM_NCMOUSEMOVE is posted when the cursor moves into a non-client area of the window 185 if( win32wnd->lastHitTestVal != HTCLIENT_W)185 if((win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) 186 186 { 187 187 setcursormsg = WINWM_NCMOUSEMOVE; … … 385 385 case WM_BUTTON3DBLCLK: 386 386 //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window 387 if( win32wnd->lastHitTestVal != HTCLIENT_W) {387 if((win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) { 388 388 winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN); 389 389 winMsg->wParam = win32wnd->lastHitTestVal; … … 429 429 430 430 //WM_NCMOUSEMOVE is posted when the cursor moves into a non-client area of the window 431 if( win32wnd->lastHitTestVal != HTCLIENT_W)431 if((win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) 432 432 { 433 433 setcursormsg = WINWM_NCMOUSEMOVE;
Note:
See TracChangeset
for help on using the changeset viewer.