Ignore:
Timestamp:
Jul 4, 2001, 11:29:52 AM (24 years ago)
Author:
sandervl
Message:

SetParent bugfix

File:
1 edited

Legend:

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

    r6040 r6166  
    1 /* $Id: pmwindow.cpp,v 1.137 2001-06-17 21:08:00 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.138 2001-07-04 09:29:51 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    494494
    495495    case WM_TIMER:
     496        dprintf(("WM_TIMER %x %x time %x", win32wnd->getWindowHandle(), pWinMsg->wParam, GetTickCount()));
    496497        win32wnd->DispatchMsgA(pWinMsg);
    497498        goto RunDefWndProc;
     
    751752        dprintf(("PMFRAME:WM_ADJUSTWINDOWPOS %x %x %x (%d,%d) (%d,%d)", win32wnd->getWindowHandle(), pswp->hwnd, pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
    752753
     754        if(win32wnd->IsParentChanging()) {
     755            rc = 0;
     756            break;
     757        }
     758
    753759        if(pswp->fl & SWP_NOADJUST) {
    754760            //ignore weird messages (TODO: why are they sent?)
     
    877883
    878884        dprintf(("PMFRAME:WM_WINDOWPOSCHANGED (%x) %x %x (%d,%d) (%d,%d)", mp2, win32wnd->getWindowHandle(), pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
     885        if(win32wnd->IsParentChanging()) {
     886            goto PosChangedEnd;
     887        }
    879888
    880889        if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0)
Note: See TracChangeset for help on using the changeset viewer.