Changeset 2353 for trunk/src/user32/new/oslibmsgtranslate.cpp
- Timestamp:
- Jan 7, 2000, 6:38:48 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibmsgtranslate.cpp
r2335 r2353 1 /* $Id: oslibmsgtranslate.cpp,v 1. 5 2000-01-05 21:25:04cbratschi Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.6 2000-01-07 17:38:47 cbratschi Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 141 141 case WM_BUTTON3DBLCLK: 142 142 //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window 143 if( (win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) {143 if(win32wnd->lastHitTestVal != HTCLIENT_W) { 144 144 winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN); 145 145 winMsg->wParam = win32wnd->lastHitTestVal; … … 185 185 186 186 //WM_NCMOUSEMOVE is posted when the cursor moves into a non-client area of the window 187 if( (win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle()))187 if(win32wnd->lastHitTestVal != HTCLIENT_W) 188 188 { 189 189 setcursormsg = WINWM_NCMOUSEMOVE; … … 332 332 case WM_BUTTON3DBLCLK: 333 333 //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window 334 if( (win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle())) {334 if(win32wnd->lastHitTestVal != HTCLIENT_W) { 335 335 winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN); 336 336 winMsg->wParam = win32wnd->lastHitTestVal; … … 376 376 377 377 //WM_NCMOUSEMOVE is posted when the cursor moves into a non-client area of the window 378 if( (win32wnd->lastHitTestVal != HTCLIENT_W) && (WinQueryCapture(HWND_DESKTOP) != win32wnd->getOS2WindowHandle()))378 if(win32wnd->lastHitTestVal != HTCLIENT_W) 379 379 { 380 380 setcursormsg = WINWM_NCMOUSEMOVE;
Note:
See TracChangeset
for help on using the changeset viewer.