Changeset 3873 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jul 20, 2000, 8:08:13 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3853 r3873 1 /* $Id: win32wbase.cpp,v 1.20 7 2000-07-18 18:35:39sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.208 2000-07-20 18:08:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2077 2077 2078 2078 dprintf(("ShowWindow %x %x", getWindowHandle(), nCmdShow)); 2079 if(getWindowHandle() == 0x680000 30 && nCmdShow == 0) {2079 if(getWindowHandle() == 0x6800001d && nCmdShow == 1) { 2080 2080 rc = 0; 2081 2081 } … … 2133 2133 case SW_SHOWDEFAULT: /* FIXME: should have its own handler */ 2134 2134 case SW_RESTORE: 2135 //TODO: WIN_RESTORE_MAX flag!!!!!!!!!!!!!! 2135 2136 swp |= SWP_SHOWWINDOW | SWP_FRAMECHANGED; 2136 2137 … … 2324 2325 } 2325 2326 //****************************************************************************** 2327 //TODO: Check how this api really works in NT 2328 // This implemention doesn't make a lot of sense to me (compared to the 2329 // description in the SDK docs) 2326 2330 //****************************************************************************** 2327 2331 BOOL Win32BaseWindow::SetWindowPlacement(WINDOWPLACEMENT *wndpl) … … 2348 2352 } 2349 2353 else { 2350 SetWindowPos(0, windowpos.rcNormalPosition.left, windowpos.rcNormalPosition.top, 2354 //Papyrus calls this api with rcNormalPosition set to 0 2355 //So the rcNormalPosition should probably not affect the current position 2356 #if 0 2357 SetWindowPos(0, windowpos.rcNormalPosition.left, windowpos.rcNormalPosition.top, 2351 2358 windowpos.rcNormalPosition.right - windowpos.rcNormalPosition.left, 2352 2359 windowpos.rcNormalPosition.bottom - windowpos.rcNormalPosition.top, 2353 2360 SWP_NOZORDER | SWP_NOACTIVATE ); 2361 #endif 2354 2362 } 2355 2363 ShowWindow(wndpl->showCmd);
Note:
See TracChangeset
for help on using the changeset viewer.