Changeset 340 for trunk/src/user32/new/oslibwin.cpp
- Timestamp:
- Jul 19, 1999, 8:40:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibwin.cpp
r332 r340 1 /* $Id: oslibwin.cpp,v 1.1 5 1999-07-18 18:04:29sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.16 1999-07-19 18:40:43 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 226 226 LONG cy, ULONG fl) 227 227 { 228 HWND hwndParent = hwndInsertBehind; 229 228 230 if(fl & SWP_MOVE) { 229 y = MapOS2ToWin32Y(hwnd, cy, y); 231 switch(hwndParent) 232 { 233 case HWNDOS_TOP: 234 case HWNDOS_BOTTOM: 235 hwndParent = HWND_DESKTOP; 236 break; 237 } 238 y = MapOS2ToWin32Y(hwndParent, cy, y); 230 239 } 231 240 dprintf(("WinSetWindowPos %x %x %d %d %d %d %x", hwnd, hwndInsertBehind, x, y, cx, cy, fl)); … … 255 264 } 256 265 //****************************************************************************** 266 //Returns rectangle in Win32 window coordinates 257 267 //****************************************************************************** 258 268 BOOL OSLibWinQueryUpdateRect(HWND hwnd, PVOID pRect) … … 263 273 rc = WinQueryUpdateRect(hwnd, (PRECTL)&rectl); 264 274 if(rc) { 265 MapOS2ToWin32Rectl(hwnd, &rectl, (PRECT)pRect); 266 } 275 MapOS2ToWin32Rectl(&rectl, (PRECT)pRect); 276 } 277 else memset(pRect, 0, sizeof(RECT)); 267 278 return rc; 268 279 }
Note:
See TracChangeset
for help on using the changeset viewer.