Ignore:
Timestamp:
Oct 16, 1999, 12:28:31 PM (26 years ago)
Author:
sandervl
Message:

groupbox redraw + setpos fixes

File:
1 edited

Legend:

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

    r1311 r1314  
    1 /* $Id: pmwindow.cpp,v 1.30 1999-10-15 13:52:54 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.31 1999-10-16 10:28:31 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    257257
    258258        if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0) break;
     259        if (!win32wnd->CanReceiveSizeMsgs())    break;
    259260
    260261        WinQueryWindowPos(hwnd, &swpOld);
     
    296297
    297298        if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0) break;
     299        if (!win32wnd->CanReceiveSizeMsgs())    break;
    298300
    299301        if(pswp->fl & (SWP_MOVE | SWP_SIZE)) {
     
    394396    goto RunDefWndProc;
    395397//        break;
    396     }
    397 
    398     case WM_ERASEBACKGROUND:
    399     {
    400         dprintf(("OS2: WM_ERASEBACKGROUND %x", win32wnd->getWindowHandle()));
    401         if (!win32wnd->isSupressErase()) {
    402             BOOL erased = sendEraseBkgnd (win32wnd);
    403             win32wnd->setEraseBkgnd (!erased, !erased);
    404         }
    405         break;
    406398    }
    407399
     
    851843    }
    852844
     845    case WM_ERASEBACKGROUND:
     846    {
     847        dprintf(("OS2: WM_ERASEBACKGROUND %x", win32wnd->getWindowHandle()));
     848        if (!win32wnd->isSupressErase()) {
     849            BOOL erased = sendEraseBkgnd (win32wnd);
     850            win32wnd->setEraseBkgnd (!erased, !erased);
     851        }
     852        break;
     853    }
     854
    853855    case WM_PAINT:
    854856        dprintf(("OS2: WM_PAINT %x", hwnd));
    855857
     858#if 0
    856859        if (WinQueryUpdateRect (hwnd, NULL)) {
    857860            if (!win32wnd->isSupressErase()) {
     
    861864        }
    862865        win32wnd->setSupressErase (FALSE);
    863 
     866#endif
    864867        if(win32wnd->MsgPaint(0, 0)) {
    865868                goto RunDefWndProc;
Note: See TracChangeset for help on using the changeset viewer.