Changeset 3783 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jul 1, 2000, 11:51:53 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3773 r3783 1 /* $Id: win32wbase.cpp,v 1.20 3 2000-06-29 12:26:01sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.204 2000-07-01 09:51:53 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1111 1111 dprintf(("MsgFormatFrame: old client rect (%d,%d)(%d,%d), new client (%d,%d)(%d,%d)", client.left, client.top, client.right, client.bottom, rectClient.left, rectClient.top, rectClient.right, rectClient.bottom)); 1112 1112 dprintf(("MsgFormatFrame: old window rect (%d,%d)(%d,%d), new window (%d,%d)(%d,%d)", oldWindowRect.left, oldWindowRect.top, oldWindowRect.right, oldWindowRect.bottom, rectWindow.left, rectWindow.top, rectWindow.right, rectWindow.bottom)); 1113 1114 #if 1 1115 //this doesn't always work 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)) 1119 { 1120 Win32BaseWindow *child = (Win32BaseWindow *)getFirstChild(); 1121 1122 //client rectangle has moved -> inform children 1123 dprintf(("MsgFormatFrame -> client rectangle has changed, move children")); 1124 while(child) { 1125 child->SetWindowPos(HWND_TOP, child->getClientRectPtr()->left, 1126 child->getClientRectPtr()->top, 0, 0, 1127 SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER); 1128 child = (Win32BaseWindow *)child->getNextChild(); 1129 } 1130 } 1131 #endif 1113 1132 return rc; 1114 1133 }
Note:
See TracChangeset
for help on using the changeset viewer.