Changeset 220 for trunk/src/helpers/cctl_splitwin.c
- Timestamp:
- Sep 2, 2002, 4:00:04 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_splitwin.c
r214 r220 212 212 213 213 case WM_WINDOWPOSCHANGED: 214 {215 214 // this msg is passed two SWP structs: 216 215 // one for the old, one for the new data 217 216 // (from PM docs) 218 PSWP pswpNew = (PSWP)mp1; 219 220 if (pswpNew->fl & SWP_SIZE) 221 { 217 if (((PSWP)mp1)->fl & SWP_SIZE) 222 218 // _Pmpf(("ctl_fnwpSplitWindow, WM_WINDOWPOSCHANGED")); 223 219 ctlUpdateSplitWindow(hwndSplit); 224 } 220 225 221 mrc = WinDefWindowProc(hwndSplit, msg, mp1, mp2); 226 break; }222 break; 227 223 228 224 /* … … 251 247 { 252 248 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)) 256 252 { 257 253 pData->hwndLinked1 = (HWND)mp1; … … 263 259 FALSE); // no redraw 264 260 } 265 break; } 261 } 262 break; 266 263 267 264 default: … … 445 442 pData->lcolInactiveBorder); 446 443 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] 448 446 { 449 447 GpiSetColor(hps, pData->lcol3DLight);
Note:
See TracChangeset
for help on using the changeset viewer.