Changeset 3679 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jun 8, 2000, 8:10:12 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3663 r3679 1 /* $Id: win32wbase.cpp,v 1. 199 2000-06-07 21:45:50sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.200 2000-06-08 18:10:11 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 716 716 } 717 717 718 if (cs->style & WS_VISIBLE) ShowWindow(sw); 718 if(cs->style & WS_VISIBLE) { 719 dwStyle &= ~WS_VISIBLE; 720 ShowWindow(sw); 721 } 719 722 720 723 /* Call WH_SHELL hook */ … … 2238 2241 MsgFormatFrame(NULL); 2239 2242 UnionRect(&oldClientRect, &oldClientRect, &rectClient); 2243 OffsetRect(&oldClientRect, -rectClient.left, -rectClient.top); 2240 2244 InvalidateRect(getWindowHandle(), &oldClientRect, TRUE); 2241 2245 //TODO: move child windows!! … … 2284 2288 { 2285 2289 UnionRect(&oldClientRect, &oldClientRect, &rectClient); 2290 OffsetRect(&oldClientRect, -rectClient.left, -rectClient.top); 2286 2291 InvalidateRect(getWindowHandle(), &oldClientRect, TRUE); 2287 2292 //TODO: move child windows!! … … 2498 2503 HWND Win32BaseWindow::GetTopWindow() 2499 2504 { 2500 return GetWindow(GW_CHILD); 2505 HWND hwndTop; 2506 Win32BaseWindow *topwindow; 2507 2508 hwndTop = OSLibWinQueryWindow(getOS2WindowHandle(), QWOS_TOP); 2509 if(!isDesktopWindow()) { 2510 topwindow = GetWindowFromOS2Handle(hwndTop); 2511 if(topwindow) { 2512 return topwindow->getWindowHandle(); 2513 } 2514 return 0; 2515 } 2516 while(hwndTop) { 2517 topwindow = GetWindowFromOS2Handle(hwndTop); 2518 if(topwindow) { 2519 return topwindow->getWindowHandle(); 2520 } 2521 hwndTop = OSLibWinQueryWindow(hwndTop, QWOS_NEXT); 2522 } 2523 2524 return 0; 2501 2525 } 2502 2526 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.