Changeset 5258 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Feb 23, 2001, 3:52:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r5246 r5258 1 /* $Id: win32wbase.cpp,v 1.24 3 2001-02-22 18:18:59sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.244 2001-02-23 14:52:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 105 105 fCreateSetWindowPos = FALSE; 106 106 fCreationFinished= FALSE; 107 fMinMaxChange = FALSE; 107 108 108 109 windowNameA = NULL; … … 1489 1490 { 1490 1491 dprintf(("DefWndProc: WM_SETCURSOR for %x Msg %s", Win32Hwnd, GetMsgText(HIWORD(lParam)))); 1491 if((getStyle() & WS_CHILD) && !(getExStyle() & WS_EX_NOPARENTNOTIFY))1492 if((getStyle() & WS_CHILD)) 1492 1493 { 1493 1494 if(getParent()) { … … 1496 1497 } 1497 1498 } 1498 if (wParam == Win32Hwnd)1499 if (wParam == getWindowHandle()) 1499 1500 { 1500 1501 HCURSOR hCursor; … … 2210 2211 if( !(getStyle() & WS_MINIMIZE) ) { 2211 2212 swp |= MinMaximize(SW_MINIMIZE, &newPos ); 2213 fMinMaxChange = TRUE; //-> invalidate entire window in WM_CALCINVALIDRECT 2212 2214 } 2213 2215 else swp |= SWP_NOSIZE | SWP_NOMOVE; … … 2217 2219 case SW_SHOWMAXIMIZED: /* same as SW_MAXIMIZE */ 2218 2220 swp |= SWP_SHOWWINDOW | SWP_FRAMECHANGED; 2219 if( !(getStyle() & WS_MAXIMIZE) ) 2221 if( !(getStyle() & WS_MAXIMIZE) ) { 2220 2222 swp |= MinMaximize(SW_MAXIMIZE, &newPos ); 2223 fMinMaxChange = TRUE; //-> invalidate entire window in WM_CALCINVALIDRECT 2224 } 2221 2225 else swp |= SWP_NOSIZE | SWP_NOMOVE; 2222 2226 break; … … 2251 2255 if( getStyle() & (WS_MINIMIZE | WS_MAXIMIZE) ) { 2252 2256 swp |= MinMaximize(SW_RESTORE, &newPos ); 2257 fMinMaxChange = TRUE; //-> invalidate entire window in WM_CALCINVALIDRECT 2253 2258 } 2254 2259 else swp |= SWP_NOSIZE | SWP_NOMOVE; … … 2291 2296 } 2292 2297 END: 2298 fMinMaxChange = FALSE; 2293 2299 return wasVisible; 2294 2300 }
Note:
See TracChangeset
for help on using the changeset viewer.