Changeset 2292 for trunk/src/user32/new/window.cpp
- Timestamp:
- Jan 2, 2000, 8:30:47 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/window.cpp
r2290 r2292 1 /* $Id: window.cpp,v 1.2 7 2000-01-01 14:57:34cbratschi Exp $ */1 /* $Id: window.cpp,v 1.28 2000-01-02 19:30:46 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 768 768 Win32BaseWindow *window; 769 769 770 if (!pRect) 771 { 772 SetLastError(ERROR_INVALID_PARAMETER); 773 return FALSE; 774 } 770 775 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 771 776 if(!window) { 772 777 dprintf(("GetClientRect, window %x not found", hwnd)); 773 778 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); 778 782 dprintf(("GetClientRect of %X returned (%d,%d) (%d,%d)\n", hwndWin32, pRect->left, pRect->top, pRect->right, pRect->bottom)); 779 783 return TRUE; … … 799 803 WS_EX_STATICEDGE | WS_EX_TOOLWINDOW); 800 804 if (exStyle & WS_EX_DLGMODALFRAME) style &= ~WS_THICKFRAME; 801 805 #if 0 //CB: todo 802 806 Win32BaseWindow::NC_AdjustRectOuter( rect, style, menu, exStyle ); 803 807 Win32BaseWindow::NC_AdjustRectInner( rect, style, exStyle ); 804 808 #endif 805 809 dprintf(("AdjustWindowRectEx returned (%d,%d)(%d,%d)\n", rect->left, rect->top, rect->right, rect->bottom)); 806 810 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.