Ignore:
Timestamp:
Jan 2, 2000, 8:30:47 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2290 r2292  
    1 /* $Id: window.cpp,v 1.27 2000-01-01 14:57:34 cbratschi Exp $ */
     1/* $Id: window.cpp,v 1.28 2000-01-02 19:30:46 cbratschi Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    768768 Win32BaseWindow *window;
    769769
     770    if (!pRect)
     771    {
     772      SetLastError(ERROR_INVALID_PARAMETER);
     773      return FALSE;
     774    }
    770775    window = Win32BaseWindow::GetWindowFromHandle(hwnd);
    771776    if(!window) {
    772777        dprintf(("GetClientRect, window %x not found", hwnd));
    773778        SetLastError(ERROR_INVALID_WINDOW_HANDLE);
    774         return 0;
    775     }
    776     *pRect = *window->getClientRect();
    777     OffsetRect(pRect, -pRect->left, -pRect->top);
     779        return FALSE;
     780    }
     781    window->getClientRect(pRect);
    778782    dprintf(("GetClientRect of %X returned (%d,%d) (%d,%d)\n", hwndWin32, pRect->left, pRect->top, pRect->right, pRect->bottom));
    779783    return TRUE;
     
    799803        WS_EX_STATICEDGE | WS_EX_TOOLWINDOW);
    800804    if (exStyle & WS_EX_DLGMODALFRAME) style &= ~WS_THICKFRAME;
    801 
     805#if 0  //CB: todo
    802806    Win32BaseWindow::NC_AdjustRectOuter( rect, style, menu, exStyle );
    803807    Win32BaseWindow::NC_AdjustRectInner( rect, style, exStyle );
    804 
     808#endif
    805809    dprintf(("AdjustWindowRectEx returned (%d,%d)(%d,%d)\n", rect->left, rect->top, rect->right, rect->bottom));
    806810    return TRUE;
Note: See TracChangeset for help on using the changeset viewer.