- Timestamp:
- Apr 10, 2000, 9:40:45 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r3250 r3364 1 /* $Id: oslibwin.cpp,v 1.7 2 2000-03-27 15:06:29 cbratschiExp $ */1 /* $Id: oslibwin.cpp,v 1.73 2000-04-10 19:40:44 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 931 931 //****************************************************************************** 932 932 //****************************************************************************** 933 void OSLibWinSetVisibleRegionNotify(HWND hwnd, BOOL fNotify) 934 { 935 WinSetVisibleRegionNotify(hwnd, fNotify); 936 } 937 //****************************************************************************** 938 //****************************************************************************** -
trunk/src/user32/oslibwin.h
r3250 r3364 1 /* $Id: oslibwin.h,v 1.4 0 2000-03-27 15:06:30 cbratschiExp $ */1 /* $Id: oslibwin.h,v 1.41 2000-04-10 19:40:45 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 280 280 void OSLibWinShowTaskList(HWND hwndFrame); 281 281 282 void OSLibWinSetVisibleRegionNotify(HWND hwnd, BOOL fNotify); 283 282 284 #endif //__OSLIBWIN_H__ -
trunk/src/user32/pmframe.cpp
r3288 r3364 1 /* $Id: pmframe.cpp,v 1.4 7 2000-04-01 10:01:53sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.48 2000-04-10 19:40:45 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 474 474 case WM_DESTROY: 475 475 dprintf(("PMFRAME: WM_DESTROY %x",hwnd)); 476 WinSetVisibleRegionNotify(hwnd, FALSE); 476 477 WinSubclassWindow(hwnd,OldFrameProc); 477 478 win32wnd->setOldFrameProc(NULL); 478 479 goto RunDefFrameProc; 480 481 case WM_VRNENABLED: 482 if(!win32wnd->isComingToTop() && ((win32wnd->getStyle() & WS_EX_TOPMOST_W) == WS_EX_TOPMOST_W)) 483 { 484 HWND hwndrelated; 485 Win32BaseWindow *topwindow; 486 487 win32wnd->setComingToTop(TRUE); 488 489 hwndrelated = WinQueryWindow(hwnd, QW_PREV); 490 dprintf(("WM_VRNENABLED hwndrelated = %x (hwnd=%x)", hwndrelated, hwnd)); 491 topwindow = Win32BaseWindow::GetWindowFromOS2FrameHandle(hwndrelated); 492 if(topwindow == NULL || ((win32wnd->getStyle() & WS_EX_TOPMOST_W) == 0)) { 493 //put window at the top of z order 494 WinSetWindowPos( hwnd, HWND_TOP, 0, 0, 0, 0, SWP_ZORDER ); 495 } 496 497 win32wnd->setComingToTop(FALSE); 498 break; 499 } 500 goto RunDefFrameProc; 479 501 480 502 default:
Note:
See TracChangeset
for help on using the changeset viewer.