- Timestamp:
- Jul 2, 2000, 4:31:34 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3783 r3789 1 /* $Id: win32wbase.cpp,v 1.20 4 2000-07-01 09:51:53sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.205 2000-07-02 14:31:34 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1115 1115 //this doesn't always work 1116 1116 // if(!fNoSizeMsg && (client.left != rectClient.left || client.top != rectClient.top)) 1117 if(!fNoSizeMsg && (oldWindowRect.right - oldWindowRect.left < rectClient.left 1118 || oldWindowRect.bottom - oldWindowRect.top < rectClient.top)) 1117 if(!fNoSizeMsg && ((oldWindowRect.right - oldWindowRect.left < rectClient.left 1118 || oldWindowRect.bottom - oldWindowRect.top < rectClient.top) || 1119 (EqualRect(&oldWindowRect, &rectWindow) && (client.left != rectClient.left || client.top != rectClient.top)))) 1119 1120 { 1120 1121 Win32BaseWindow *child = (Win32BaseWindow *)getFirstChild(); … … 1123 1124 dprintf(("MsgFormatFrame -> client rectangle has changed, move children")); 1124 1125 while(child) { 1125 child->SetWindowPos(HWND_TOP, child->getClientRectPtr()->left, 1126 child->getClientRectPtr()->top, 0, 0, 1127 SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER); 1126 ::SetWindowPos(child->getWindowHandle(), 1127 HWND_TOP, child->getWindowRect()->left, 1128 child->getWindowRect()->top, 0, 0, 1129 SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER); 1128 1130 child = (Win32BaseWindow *)child->getNextChild(); 1129 1131 } … … 2271 2273 OffsetRect(&oldClientRect, -rectClient.left, -rectClient.top); 2272 2274 InvalidateRect(getWindowHandle(), &oldClientRect, TRUE); 2273 //TODO: move child windows!!2274 2275 } 2275 2276 return TRUE; … … 2317 2318 OffsetRect(&oldClientRect, -rectClient.left, -rectClient.top); 2318 2319 InvalidateRect(getWindowHandle(), &oldClientRect, TRUE); 2319 //TODO: move child windows!!2320 2320 } 2321 2321 return (rc);
Note:
See TracChangeset
for help on using the changeset viewer.