Changeset 7765 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Jan 12, 2002, 3:09:54 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r7669 r7765 1 /* $Id: oslibwin.cpp,v 1.11 1 2001-12-22 12:12:06sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.112 2002-01-12 14:09:30 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 357 357 { 358 358 return WinDestroyWindow(hwnd); 359 } 360 //****************************************************************************** 361 //****************************************************************************** 362 BOOL OSLibWinQueryWindowClientRect(HWND hwndOS2, PRECT pRect) 363 { 364 BOOL rc; 365 RECTLOS2 rectl; 366 367 rc = WinQueryWindowRect(hwndOS2, (PRECTL)&rectl); 368 if(rc) { 369 pRect->left = 0; 370 pRect->right = rectl.xRight - rectl.xLeft; 371 pRect->top = 0; 372 pRect->bottom = rectl.yTop - rectl.yBottom; 373 } 374 else memset(pRect, 0, sizeof(RECT)); 375 return rc; 359 376 } 360 377 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.