Changeset 9635 for trunk/src/user32


Ignore:
Timestamp:
Jan 6, 2003, 4:38:17 PM (23 years ago)
Author:
sandervl
Message:

Invalidate window when it's resized and SWP_NOCOPYBITS is specified (update).

File:
1 edited

Legend:

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

    r9607 r9635  
    1 /* $Id: win32wbase.cpp,v 1.351 2003-01-04 12:21:44 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.352 2003-01-06 15:38:17 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    26412641        windowpos.rcNormalPosition = rectWindow;
    26422642    }
     2643    //MSDN says the entire client area will be invalidated when SWP_NOCOPYBITS
     2644    //is specified (fixes repaint issues when window is made smaller)
     2645    if((fuFlags & (SWP_NOCOPYBITS|SWP_NOREDRAW)) == SWP_NOCOPYBITS) {
     2646        InvalidateRect(getWindowHandle(), NULL, TRUE);
     2647    }
    26432648    return (rc);
    26442649}
Note: See TracChangeset for help on using the changeset viewer.