Ignore:
Timestamp:
Jan 12, 2002, 3:09:54 PM (24 years ago)
Author:
sandervl
Message:

CreateFakeWindowEx changes + added DestroyFakeWindow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibwin.cpp

    r7669 r7765  
    1 /* $Id: oslibwin.cpp,v 1.111 2001-12-22 12:12:06 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.112 2002-01-12 14:09:30 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    357357{
    358358  return WinDestroyWindow(hwnd);
     359}
     360//******************************************************************************
     361//******************************************************************************
     362BOOL  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;
    359376}
    360377//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.