Changeset 385 for trunk/src/user32/new/oslibwin.cpp
- Timestamp:
- Jul 24, 1999, 4:01:45 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibwin.cpp
r345 r385 1 /* $Id: oslibwin.cpp,v 1.1 8 1999-07-20 15:46:53sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.19 1999-07-24 14:01:44 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 183 183 //****************************************************************************** 184 184 //****************************************************************************** 185 BOOL OSLibWinInvalidateRect(HWND hwnd,POSRECTL pwrc,BOOL fIncludeChildren)186 {187 return WinInvalidateRect(hwnd,(PRECTL)pwrc,fIncludeChildren);188 }189 //******************************************************************************190 //******************************************************************************191 185 LONG OSLibWinQuerySysValue(HWND hwndDeskTop,LONG iSysValue) 192 186 { … … 260 254 } 261 255 //****************************************************************************** 262 //Returns rectangle in Win32 window coordinates 263 //****************************************************************************** 264 BOOL OSLibWinQueryUpdateRect(HWND hwnd, PVOID pRect) 265 { 266 BOOL rc; 256 //****************************************************************************** 257 BOOL OSLibWinQueryWindowRect(HWND hwnd, PRECT pRect, int RelativeTo) 258 { 259 BOOL rc; 267 260 RECTLOS2 rectl; 268 261 269 rc = WinQuery UpdateRect(hwnd, (PRECTL)&rectl);262 rc = WinQueryWindowRect(hwnd, (PRECTL)&rectl); 270 263 if(rc) { 271 MapOS2ToWin32Rectl(&rectl, (PRECT)pRect); 264 if(RelativeTo == RELATIVE_TO_SCREEN) { 265 MapOS2ToWin32Rectl(OSLIB_HWND_DESKTOP, hwnd, &rectl, pRect); 266 } 267 else MapOS2ToWin32Rectl(&rectl, pRect); 272 268 } 273 269 else memset(pRect, 0, sizeof(RECT));
Note:
See TracChangeset
for help on using the changeset viewer.