Changeset 6008 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jun 14, 2001, 1:30:57 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r6001 r6008 1 /* $Id: win32wbase.cpp,v 1.26 8 2001-06-13 17:28:07sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.269 2001-06-14 11:30:56 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 140 140 dwExStyle = 0; 141 141 dwStyle = 0; 142 dwOldStyle = 0; 142 143 win32wndproc = 0; 143 144 hInstance = 0; … … 453 454 454 455 WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, windowClass->getWindowProc(), WINPROC_GetProcType(windowClass->getWindowProc()), WIN_PROC_WINDOW); 455 hInstance = cs->hInstance; 456 dwStyle = cs->style & ~WS_VISIBLE; 457 dwExStyle = cs->dwExStyle; 456 hInstance = cs->hInstance; 457 dwStyle = cs->style & ~WS_VISIBLE; 458 dwOldStyle = dwStyle; 459 dwExStyle = cs->dwExStyle; 458 460 459 461 hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) ? HWND_BOTTOM : HWND_TOP; … … 2262 2264 wasVisible = (getStyle() & WS_VISIBLE) != 0; 2263 2265 2266 dwOldStyle = getStyle(); 2267 2264 2268 switch(nCmdShow) 2265 2269 { … … 2318 2322 case SW_SHOWDEFAULT: /* FIXME: should have its own handler */ 2319 2323 case SW_RESTORE: 2320 //TODO: WIN_RESTORE_MAX flag!!!!!!!!!!!!!!2321 2324 swp |= SWP_SHOWWINDOW | SWP_FRAMECHANGED; 2322 2325 … … 2485 2488 if(getParent()) { 2486 2489 OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, getParent()->getClientHeight(), 2487 2490 OS2HwndFrame); 2488 2491 } 2489 2492 else OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, OSLibQueryScreenHeight(), OS2HwndFrame);
Note:
See TracChangeset
for help on using the changeset viewer.