Changeset 4945 for trunk/src/user32/win32wbasepos.cpp
- Timestamp:
- Jan 14, 2001, 6:15:47 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbasepos.cpp
r4452 r4945 1 /* $Id: win32wbasepos.cpp,v 1.1 7 2000-10-08 14:03:49sandervl Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.18 2001-01-14 17:15:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 133 133 NCCALCSIZE_PARAMS params; 134 134 WINDOWPOS winposCopy; 135 LONG result ;135 LONG result = 0; 136 136 137 137 /* Send WM_NCCALCSIZE message to get new client area */ 138 //if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE )139 //{138 if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE ) 139 { 140 140 params.rgrc[0] = *newWindowRect; 141 141 if(calcValidRect) … … 167 167 winpos->flags &= ~SWP_NOCLIENTSIZE; 168 168 169 //}170 //else171 //if(!(winpos->flags & SWP_NOMOVE) &&172 //(newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) {173 //winpos->flags &= ~SWP_NOCLIENTMOVE;174 //}169 } 170 else 171 if(!(winpos->flags & SWP_NOMOVE) && 172 (newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) { 173 winpos->flags &= ~SWP_NOCLIENTMOVE; 174 } 175 175 return result; 176 176 }
Note:
See TracChangeset
for help on using the changeset viewer.