Ignore:
Timestamp:
Dec 18, 1999, 5:31:52 PM (26 years ago)
Author:
cbratschi
Message:

MDI fixes, ChildWindowFromPointEx

File:
1 edited

Legend:

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

    r1971 r2114  
    1 /* $Id: pmframe.cpp,v 1.26 1999-12-05 00:31:47 sandervl Exp $ */
     1/* $Id: pmframe.cpp,v 1.27 1999-12-18 16:31:49 cbratschi Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    325325        dprintf(("PMFRAME: WM_WINDOWPOSCHANGED (%x) %x %x (%d,%d) (%d,%d)", mp2, win32wnd->getWindowHandle(), pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
    326326
    327         //Save height so WM_WINDOWPOSCHANGED handler in pmwindow.cpp
     327        //Save height so WM_WINDOWPOSCHANGED handler in pmwindow.cpp
    328328        //(for client) doesn't overwrite the client rectangle (breaks ydelta calculation)
    329         clientHeight = win32wnd->getWindowHeight();
     329        clientHeight = win32wnd->getWindowHeight();
    330330
    331331        RestoreOS2TIB();
     
    385385#endif
    386386
    387                 if(swp[i].y != 0) {
     387                if(swp[i].y != 0) //CB: y value of 0 is valid!
     388                {
    388389                    //child window at offset <> 0 from client area -> offset now changes
    389390                    swp[i].y  += yDelta;
Note: See TracChangeset for help on using the changeset viewer.