Ignore:
Timestamp:
Jan 13, 2000, 9:11:39 PM (26 years ago)
Author:
sandervl
Message:

Client rectangle changes, GetDCEx bugfix (CS_OWNDC), scroll rectangle calculation fixes

File:
1 edited

Legend:

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

    r2426 r2433  
    1 /* $Id: pmframe.cpp,v 1.15 2000-01-13 13:54:52 sandervl Exp $ */
     1/* $Id: pmframe.cpp,v 1.16 2000-01-13 20:11:37 sandervl Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    287287
    288288          //CB: todo: use result for WM_CALCVALIDRECTS
    289           mapWin32ToOS2Rect(WinQueryWindow(hwnd,QW_PARENT),hwnd,win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);
     289//          mapWin32ToOS2Rect(WinQueryWindow(hwnd,QW_PARENT),hwnd,win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);
     290          mapWin32ToOS2Rect(win32wnd->getOS2FrameWindowHandle(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect);
    290291
    291292          swpClient.hwnd = win32wnd->getOS2WindowHandle();
     
    451452        win32wnd->MsgFormatFrame(NULL);
    452453        //CB: todo: use result for WM_CALCVALIDRECTS
    453         mapWin32ToOS2Rect(WinQueryWindow(win32wnd->getOS2FrameWindowHandle(),QW_PARENT),win32wnd->getOS2FrameWindowHandle(),win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);
     454//        mapWin32ToOS2Rect(WinQueryWindow(win32wnd->getOS2FrameWindowHandle(),QW_PARENT),win32wnd->getOS2FrameWindowHandle(),win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);
     455        mapWin32ToOS2Rect(win32wnd->getOS2FrameWindowHandle(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect);
     456
    454457
    455458        swpClient.hwnd = win32wnd->getOS2WindowHandle();
Note: See TracChangeset for help on using the changeset viewer.