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/scroll.cpp

    r2426 r2433  
    1 /* $Id: scroll.cpp,v 1.10 2000-01-13 13:54:53 sandervl Exp $ */
     1/* $Id: scroll.cpp,v 1.11 2000-01-13 20:11:37 sandervl Exp $ */
    22/*
    33 * Scrollbar control
     
    125125        if (!win32wnd) return FALSE;
    126126        rectClient = *win32wnd->getClientRectPtr();
    127         if(win32wnd->getParent())
    128                 mapWin32Rect(win32wnd->getParent() ? win32wnd->getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,win32wnd->getOS2FrameWindowHandle(),&rectClient);
    129127        lprect->left   = rectClient.left;
    130128        lprect->top    = rectClient.bottom;
     
    148146        if (!win32wnd) return FALSE;
    149147        rectClient = *win32wnd->getClientRectPtr();
    150         if(win32wnd->getParent())
    151                 mapWin32Rect(win32wnd->getParent() ? win32wnd->getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,win32wnd->getOS2FrameWindowHandle(),&rectClient);
    152148        lprect->left   = rectClient.right;
    153149        lprect->top    = rectClient.top;
     
    14731469{
    14741470    Win32BaseWindow *win32wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);
    1475 //    BOOL fShowH = (nBar == SB_HORZ) ? 0:fShow,fShowV = (nBar == SB_VERT) ? 0:fShow;
    14761471    BOOL fShowH = (nBar == SB_HORZ) ? fShow : 0;
    14771472    BOOL fShowV = (nBar == SB_VERT) ? fShow : 0;
Note: See TracChangeset for help on using the changeset viewer.