Changeset 20408
- Timestamp:
- Feb 28, 2003, 10:56:00 AM (22 years ago)
- Location:
- tags/trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/win32wbase.cpp ¶
r20403 r20408 1 /* $Id: win32wbase.cpp,v 1.36 0 2003-02-27 14:22:44sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.361 2003-02-28 09:56:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2579 2579 NotifyFrameChanged(&wpos, &oldClientRect); 2580 2580 } 2581 if(!fShowWindow && !(getStyle() & WS_MINIMIZE) )2581 if(!fShowWindow && !(getStyle() & WS_MINIMIZE) && !(fuFlags & (SWP_NOSIZE | SWP_NOMOVE))) 2582 2582 { 2583 2583 //Restore position always changes when the window position is changed -
TabularUnified tags/trunk/src/user32/win32wbasenonclient.cpp ¶
r20403 r20408 1 /* $Id: win32wbasenonclient.cpp,v 1. 49 2003-02-27 14:22:45sandervl Exp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.50 2003-02-28 09:56:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 1332 1332 case SC_MAXIMIZE: 1333 1333 if(dwStyle & WS_MAXIMIZEBOX) 1334 ShowWindow(SW_MAXIMIZE); 1334 if (fOS2Look && (getOldStyle() & WS_MINIMIZE)) 1335 { 1336 //PF Yes this is bad we do things twice - first restore window 1337 //from iconic state and then quickly maximize. What is good is that 1338 //only frame rects are recalculated twice. I checked lots of other 1339 //ways - seems only this one is 100% bug-safe. This happens on every 1340 //minimize from icon to maximum routine so not so often at all. 1341 OSLibWinRestoreWindow(getOS2FrameWindowHandle()); 1342 } 1343 ShowWindow(SW_MAXIMIZE); 1335 1344 break; 1336 1345
Note:
See TracChangeset
for help on using the changeset viewer.