Ignore:
Timestamp:
Sep 2, 2002, 4:00:04 PM (23 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_splitwin.c

    r214 r220  
    212212
    213213        case WM_WINDOWPOSCHANGED:
    214         {
    215214            // this msg is passed two SWP structs:
    216215            // one for the old, one for the new data
    217216            // (from PM docs)
    218             PSWP pswpNew = (PSWP)mp1;
    219 
    220             if (pswpNew->fl & SWP_SIZE)
    221             {
     217            if (((PSWP)mp1)->fl & SWP_SIZE)
    222218                // _Pmpf(("ctl_fnwpSplitWindow, WM_WINDOWPOSCHANGED"));
    223219                ctlUpdateSplitWindow(hwndSplit);
    224             }
     220
    225221            mrc = WinDefWindowProc(hwndSplit, msg, mp1, mp2);
    226         break; }
     222        break;
    227223
    228224        /*
     
    251247        {
    252248            HWND    hwndSplitBar = WinWindowFromID(hwndSplit, ID_SPLITBAR);
    253             PSPLITBARDATA pData = (PSPLITBARDATA)WinQueryWindowULong(hwndSplitBar,
    254                                                                      QWL_USER);
    255             if (pData)
     249            PSPLITBARDATA pData;
     250            if (pData = (PSPLITBARDATA)WinQueryWindowULong(hwndSplitBar,
     251                                                           QWL_USER))
    256252            {
    257253                pData->hwndLinked1 = (HWND)mp1;
     
    263259                             FALSE);        // no redraw
    264260            }
    265         break; }
     261        }
     262        break;
    266263
    267264        default:
     
    445442                    pData->lcolInactiveBorder);
    446443
    447         if ((pData->sbcd.ulCreateFlags & SBCF_3DSUNK) == 0)
     444        if (!(pData->sbcd.ulCreateFlags & (SBCF_3DSUNK | SBCF_3DEXPLORERSTYLE)))
     445                        // V0.9.21 (2002-08-31) [umoeller]
    448446        {
    449447            GpiSetColor(hps, pData->lcol3DLight);
Note: See TracChangeset for help on using the changeset viewer.