Changeset 3581 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- May 20, 2000, 4:57:24 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3578 r3581 1 /* $Id: win32wbase.cpp,v 1.19 0 2000-05-20 13:30:59sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.191 2000-05-20 14:57:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2086 2086 2087 2087 rc = OSLibWinShowWindow(OS2HwndFrame, showstate); 2088 OSLibWinShowWindow(OS2Hwnd, showstate); 2088 2089 2089 2090 SendInternalMessageA(WM_SHOWWINDOW, (showstate & SWPOS_SHOW) ? 1 : 0, 0); … … 2116 2117 Win32BaseWindow *window; 2117 2118 HWND hParent = 0; 2118 BOOL fShow = FALSE , fHide = FALSE;2119 BOOL fShow = FALSE; 2119 2120 2120 2121 if (fuFlags & … … 2198 2199 FrameUpdateClient(this); 2199 2200 } 2200 if(fuFlags & SWP_SHOWWINDOW) {2201 setStyle(getStyle() | WS_VISIBLE);2202 }2203 else2204 if(fuFlags & SWP_HIDEWINDOW) {2205 setStyle(getStyle() & ~WS_VISIBLE);2206 }2207 2201 return TRUE; 2208 2202 } … … 2226 2220 if(fuFlags & SWP_SHOWWINDOW && !IsWindowVisible()) { 2227 2221 setStyle(getStyle() | WS_VISIBLE); 2222 //SvL: TODO: Send WM_SHOWWINDOW?? 2223 OSLibWinShowWindow(OS2Hwnd, SWPOS_SHOW); 2228 2224 } 2229 2225 else 2230 2226 if(fuFlags & SWP_HIDEWINDOW && IsWindowVisible()) { 2231 2227 setStyle(getStyle() & ~WS_VISIBLE); 2228 //SvL: TODO: Send WM_SHOWWINDOW?? 2229 OSLibWinShowWindow(OS2Hwnd, SWPOS_HIDE); 2232 2230 } 2233 2231 rc = OSLibWinSetMultWindowPos(&swp, 1); 2234 2232 2233 #ifdef DEBUG 2234 if(fShow) { 2235 dprintf(("Frame style 0x%08x, client style 0x%08x", OSLibQueryWindowStyle(OS2HwndFrame), OSLibQueryWindowStyle(OS2Hwnd))); 2236 } 2237 #endif 2235 2238 if (rc == FALSE) 2236 2239 { 2237 2240 dprintf(("OSLibWinSetMultWindowPos failed! Error %x",OSLibWinGetLastError())); 2238 2241 } 2239 2240 2242 if((fuFlags & SWP_FRAMECHANGED) && (fuFlags & (SWP_NOMOVE | SWP_NOSIZE) == (SWP_NOMOVE | SWP_NOSIZE))) 2241 2243 {
Note:
See TracChangeset
for help on using the changeset viewer.