Ignore:
Timestamp:
Jan 28, 2000, 11:26:01 PM (26 years ago)
Author:
sandervl
Message:

Don't call default frame handler for WM_ADJUSTWINDOWPOS

File:
1 edited

Legend:

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

    r2529 r2552  
    1 /* $Id: dc.cpp,v 1.37 2000-01-27 17:21:08 cbratschi Exp $ */
     1/* $Id: dc.cpp,v 1.38 2000-01-28 22:25:59 sandervl Exp $ */
    22
    33/*
     
    438438   HPS      hPS_ownDC = NULLHANDLE;
    439439
    440    dprintf (("USER32: BeginPaint(%x)", hWnd));
    441 
    442440   if ( !lpps )
    443441   {
    444       O32_SetLastError (ERROR_INVALID_PARAMETER);
    445       return (HDC)NULLHANDLE;
     442        dprintf (("USER32: BeginPaint %x invalid parameter %x", hWnd, lpps));
     443        O32_SetLastError (ERROR_INVALID_PARAMETER);
     444        return (HDC)NULLHANDLE;
    446445   }
    447446
     
    459458                if (!pHps)
    460459                {
     460                        dprintf (("USER32: BeginPaint %x invalid parameter %x", hWnd, lpps));
    461461                        O32_SetLastError (ERROR_INVALID_PARAMETER);
    462462                        return (HDC)NULLHANDLE;
     
    504504
    505505   O32_SetLastError(0);
     506   dprintf(("USER32: BeginPaint %x -> hdc %x", hWnd, pHps->hps));
    506507   return (HDC)pHps->hps;
    507508}
     
    688689      hWindow = HWND_DESKTOP;
    689690
    690    dprintf (("User32: GetDCEx hwnd %x (%x %x) -> wnd %x", hwnd, hrgn, flags, wnd));
    691 
    692691   //SvL: Hack for memory.exe (doesn't get repainted properly otherwise)
    693692//   isWindowOwnDC = (((hWindow == HWND_DESKTOP) ? FALSE : (wnd->isOwnDC() && wnd->getOwnDC()))
     
    707706
    708707         pHps->hdcType = TYPE_1;
     708         dprintf (("User32: GetDCEx hwnd %x (%x %x) -> wnd %x hdc %x", hwnd, hrgn, flags, wnd, hps));
    709709         return (HDC)hps;
    710710      }
     
    784784   GpiSetDrawControl (hps, DCTL_DISPLAY, drawingAllowed ? DCTL_ON : DCTL_OFF);
    785785
     786   dprintf (("User32: GetDCEx hwnd %x (%x %x) -> hdc %x", hwnd, hrgn, flags, pHps->hps));
    786787   return (HDC)pHps->hps;
    787788
Note: See TracChangeset for help on using the changeset viewer.