Ignore:
Timestamp:
Jan 7, 2000, 6:38:48 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

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:04 cbratschi Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.6 2000-01-07 17:38:47 cbratschi Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    141141      case WM_BUTTON3DBLCLK:
    142142        //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) {
    144144            winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN);
    145145            winMsg->wParam  = win32wnd->lastHitTestVal;
     
    185185
    186186        //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)
    188188        {
    189189          setcursormsg   = WINWM_NCMOUSEMOVE;
     
    332332    case WM_BUTTON3DBLCLK:
    333333        //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) {
    335335            winMsg->message = WINWM_NCLBUTTONDOWN + (os2Msg->msg - WM_BUTTON1DOWN);
    336336            winMsg->wParam  = win32wnd->lastHitTestVal;
     
    376376
    377377        //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)
    379379        {
    380380          setcursormsg   = WINWM_NCMOUSEMOVE;
Note: See TracChangeset for help on using the changeset viewer.