Changeset 385 for trunk/src/user32/new/window.cpp
- Timestamp:
- Jul 24, 1999, 4:01:45 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/window.cpp
r378 r385 1 /* $Id: window.cpp,v 1. 8 1999-07-23 19:09:25 cbratschiExp $ */1 /* $Id: window.cpp,v 1.9 1999-07-24 14:01:45 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 20 20 #include <win32wnd.h> 21 21 #include <oslibwin.h> 22 #include <oslibgdi.h> 22 23 #include "user32.h" 23 24 #include "icon.h" … … 588 589 //****************************************************************************** 589 590 //****************************************************************************** 590 BOOL WIN32API GetClientRect( HWND arg1, PRECT arg2) 591 { 592 #ifdef DEBUG 593 WriteLog("USER32: GetClientRect of %X\n", arg1); 594 #endif 595 arg1 = Win32Window::Win32ToOS2Handle(arg1); 596 return O32_GetClientRect(arg1, arg2); 591 BOOL WIN32API GetClientRect( HWND hwnd, PRECT pRect) 592 { 593 #ifdef DEBUG 594 WriteLog("USER32: GetClientRect of %X\n", hwnd); 595 #endif 596 hwnd = Win32Window::Win32ToOS2Handle(hwnd); 597 return OSLibWinQueryWindowRect(hwnd, pRect); 598 // return O32_GetClientRect(hwnd, arg2); 597 599 } 598 600 //****************************************************************************** … … 860 862 if (!lpRect) return FALSE; 861 863 862 return OSLibWinQueryUpdateRect(Win32Window::Win32ToOS2Handle(hwnd), (PVOID)&lpRect); 864 return OSLibWinQueryUpdateRect(Win32Window::Win32ToOS2Handle(hwnd), lpRect); 865 } 866 //****************************************************************************** 867 //****************************************************************************** 868 BOOL WIN32API InvalidateRect(HWND hWnd, const RECT *lpRect, BOOL bErase) 869 { 870 #ifdef DEBUG 871 if(lpRect) 872 WriteLog("USER32: InvalidateRect for window %X (%d,%d)(%d,%d) %d\n", hWnd, lpRect->left, lpRect->top, lpRect->right, lpRect->bottom, bErase); 873 else WriteLog("USER32: InvalidateRect for window %X NULL, %d\n", hWnd, bErase); 874 #endif 875 876 //CB: bErase no quite the same 877 hWnd = Win32Window::Win32ToOS2Handle(hWnd); 878 if (lpRect) 879 { 880 return OSLibWinInvalidateRect(hWnd, (PRECT)lpRect, bErase); 881 } 882 else return OSLibWinInvalidateRect(hWnd,NULL,bErase); 863 883 } 864 884 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.