Changeset 3482 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- May 2, 2000, 10:50:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3462 r3482 1 /* $Id: win32wbase.cpp,v 1.18 1 2000-04-29 18:28:39sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.182 2000-05-02 20:50:51 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2113 2113 return TRUE; 2114 2114 } 2115 #if 0 2116 /* Fix redundant flags */ 2117 if(getStyle() & WS_VISIBLE) { 2118 fuFlags &= ~SWP_SHOWWINDOW; 2119 } 2120 else 2121 { 2122 if (!(fuFlags & SWP_SHOWWINDOW)) 2123 fuFlags |= SWP_NOREDRAW; 2124 fuFlags &= ~SWP_HIDEWINDOW; 2125 } 2126 2127 if(cx < 0) cx = 0; 2128 if(cy < 0) cy = 0; 2129 2130 if((rectWindow.right - rectWindow.left == cx) && (rectWindow.bottom - rectWindow.top == cy)) { 2131 fuFlags |= SWP_NOSIZE; /* Already the right size */ 2132 } 2133 2134 if((rectWindow.left == x) && (rectWindow.top == y)) { 2135 fuFlags |= SWP_NOMOVE; /* Already the right position */ 2136 } 2137 2138 if(getWindowHandle() == GetActiveWindow()) { 2139 fuFlags |= SWP_NOACTIVATE; /* Already active */ 2140 } 2141 else 2142 if((getStyle() & (WS_POPUP | WS_CHILD)) != WS_CHILD ) 2143 { 2144 if(!(fuFlags & SWP_NOACTIVATE)) /* Bring to the top when activating */ 2145 { 2146 fuFlags &= ~SWP_NOZORDER; 2147 hwndInsertAfter = HWND_TOP; 2148 } 2149 } 2150 #endif 2151 2115 2152 WINDOWPOS wpos; 2116 2153 SWP swp, swpOld; … … 2196 2233 FrameUpdateClient(this); 2197 2234 } 2198 2199 2235 return (rc); 2200 2236 }
Note:
See TracChangeset
for help on using the changeset viewer.