Ignore:
Timestamp:
Nov 2, 1999, 6:07:25 PM (26 years ago)
Author:
cbratschi
Message:

frame bug fixes

File:
1 edited

Legend:

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

    r1540 r1542  
    1 /* $Id: pmframe.cpp,v 1.16 1999-11-01 19:11:41 sandervl Exp $ */
     1/* $Id: pmframe.cpp,v 1.17 1999-11-02 17:07:25 cbratschi Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    245245
    246246        if(!win32wnd->CanReceiveSizeMsgs()) {
     247            goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
    247248            break;
    248249        }
     
    267268           if(wndAfter) wp.hwndInsertAfter = wndAfter->getWindowHandle();
    268269        }
     270
     271        //CB: problems with profmine titlebar tracking
    269272        if(win32wnd->MsgPosChanging((LPARAM)&wp) == 0)
    270273        {//app or default window handler changed wp
    271274            dprintf(("PMFRAME: WM_ADJUSTWINDOWPOS, app changed windowpos struct"));
    272275            dprintf(("%x (%d,%d), (%d,%d)", pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
     276
    273277            OSLibMapWINDOWPOStoSWPFrame(&wp, pswp, &swpOld, hParent, hwnd);
    274278            dprintf(("%x (%d,%d), (%d,%d)", pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
     
    277281            pswp->hwnd = hwnd;
    278282
    279             RestoreOS2TIB();
    280             return (MRESULT)0xf;
     283            goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
     284            //RestoreOS2TIB();
     285            //return (MRESULT)0xf;
    281286        }
    282287        goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
Note: See TracChangeset for help on using the changeset viewer.