Changeset 8105 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Mar 20, 2002, 11:30:08 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r8101 r8105 1 /* $Id: win32wbase.cpp,v 1.31 7 2002-03-18 15:26:30sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.318 2002-03-20 10:30:07 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1280 1280 (pUpdateRect->right >= client.left) && (pUpdateRect->right < client.right) && 1281 1281 (pUpdateRect->top >= client.top) && (pUpdateRect->top < client.bottom) && 1282 (pUpdateRect->bottom >= client.top) && (pUpdateRect->bottom < client.bottom)) 1282 (pUpdateRect->bottom >= client.top) && (pUpdateRect->bottom < client.bottom) 1283 && (!(getStyle() & WS_MINIMIZE))) 1283 1284 { 1284 1285 return 0; … … 1289 1290 1290 1291 rc = SendMessageA(getWindowHandle(),WM_NCPAINT, hrgn, 0); 1292 //Send WM_PAINTICON here if minimized, because client window will 1293 //not receive a (valid) WM_PAINT message 1294 if (getStyle() & WS_MINIMIZE) 1295 { 1296 rc = SendMessageA(getWindowHandle(),WM_PAINTICON, 1, 0); 1297 } 1291 1298 1292 1299 DeleteObject(hrgn); … … 1788 1795 case WM_PRINT: 1789 1796 return DefWndPrint(wParam,lParam); 1797 1798 case WM_SYNCPAINT: 1799 RedrawWindow(getWindowHandle(), NULL, 0, RDW_ERASENOW | RDW_ERASE | RDW_ALLCHILDREN); 1800 return 0; 1790 1801 1791 1802 case WM_PAINTICON: … … 2277 2288 case SW_RESTORE: 2278 2289 dprintf(("ShowWindow:restoring window")); 2279 //Set client rectangle to 0 (contains negative values)2280 setClientRect(0,0,0,0);2281 2290 2282 2291 swp |= SWP_SHOWWINDOW | SWP_FRAMECHANGED; … … 2300 2309 swp |= SWP_NOACTIVATE | SWP_NOZORDER; 2301 2310 2302 SetWindowPos(HWND_TOP, newPos.left, newPos.top, newPos.right, newPos.bottom, LOWORD(swp)); 2311 dprintf(("ShowWindow : SetWindowPos now")); 2312 if (!(getStyle() & WS_MINIMIZE)) { 2313 SetWindowPos(HWND_TOP, newPos.left, newPos.top, newPos.right, newPos.bottom, LOWORD(swp)); 2314 } 2315 else OSLibWinMinimizeWindow(getOS2FrameWindowHandle()); 2303 2316 2304 2317 if(!(swp & SWP_NOACTIVATE)) {
Note:
See TracChangeset
for help on using the changeset viewer.