Ignore:
Timestamp:
Apr 27, 2001, 7:36:39 PM (24 years ago)
Author:
sandervl
Message:

mouse message translation + dc reset after resize fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsgtranslate.cpp

    r5586 r5606  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.47 2001-04-25 20:53:38 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.48 2001-04-27 17:36:37 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    387387        //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window
    388388
     389        dprintf(("button (%d,%d)", winMsg->pt.x, winMsg->pt.y));
    389390#ifdef ODIN_HITTEST
    390391        HWND hwnd;
     
    475476        HWND hwnd;
    476477
     478        dprintf2(("WM_NCMOUSEMOVE (%d,%d)", winMsg->pt.x, winMsg->pt.y));
    477479        DisableLogging();
    478480        if(GetCapture() != winMsg->hwnd)
     
    532534        if(fWasDisabled) {
    533535                if(win32wnd) {
    534                         winMsg->hwnd = win32wnd->getWindowHandle();
     536                    winMsg->hwnd = win32wnd->getWindowHandle();
    535537                }
    536                 else    goto dummymessage; //don't send mouse messages to disabled windows
     538                else {
     539                    goto dummymessage; //don't send mouse messages to disabled windows
     540                }
    537541        }
    538542        //OS/2 Window coordinates -> Win32 Window coordinates
     
    814818    default:
    815819dummymessage:
     820        dprintf2(("dummy message %x %x %x %x", os2Msg->hwnd, os2Msg->msg, os2Msg->mp1, os2Msg->mp2));
    816821        winMsg->message = 0;
    817822        winMsg->wParam  = 0;
Note: See TracChangeset for help on using the changeset viewer.