- Timestamp:
- Apr 10, 2000, 9:42:38 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmframe.cpp
r3364 r3365 1 /* $Id: pmframe.cpp,v 1.4 8 2000-04-10 19:40:45sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.49 2000-04-10 19:42:38 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 480 480 481 481 case WM_VRNENABLED: 482 if(!win32wnd->isComingToTop() && ((win32wnd->get Style() & WS_EX_TOPMOST_W) == WS_EX_TOPMOST_W))482 if(!win32wnd->isComingToTop() && ((win32wnd->getExStyle() & WS_EX_TOPMOST_W) == WS_EX_TOPMOST_W)) 483 483 { 484 484 HWND hwndrelated; -
trunk/src/user32/win32wbase.cpp
r3341 r3365 1 /* $Id: win32wbase.cpp,v 1.17 7 2000-04-07 12:55:16sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.178 2000-04-10 19:40:45 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 94 94 fTaskList = FALSE; 95 95 fParentDC = FALSE; 96 fComingToTop = FALSE; 96 97 97 98 windowNameA = NULL; … … 158 159 Win32BaseWindow::~Win32BaseWindow() 159 160 { 161 OSLibWinSetVisibleRegionNotify(OS2HwndFrame, FALSE); 160 162 OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32WNDPTR, 0); 161 163 OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32PM_MAGIC, 0); … … 494 496 495 497 OSLibWinConvertStyle(dwStyle,dwExStyle,&dwOSWinStyle); 498 #if 0 499 if(((dwStyle & (WS_CAPTION|WS_POPUP)) == WS_CAPTION) && (getParent() == NULL || getParent() == windowDesktop)) { 500 fTaskList = TRUE; 501 } 502 #else 496 503 if (((dwStyle & (WS_CAPTION | WS_SYSMENU | 0xC0000000)) == (WS_CAPTION | WS_SYSMENU))) fTaskList = TRUE; 504 #endif 497 505 498 506 OS2Hwnd = OSLibWinCreateWindow((getParent()) ? getParent()->getOS2WindowHandle() : OSLIB_HWND_DESKTOP, … … 506 514 return FALSE; 507 515 } 516 OSLibWinSetVisibleRegionNotify(OS2HwndFrame, TRUE); 508 517 509 518 SetLastError(0); -
trunk/src/user32/win32wbase.h
r3284 r3365 1 /* $Id: win32wbase.h,v 1.9 1 2000-03-31 14:42:49 cbratschiExp $ */1 /* $Id: win32wbase.h,v 1.92 2000-04-10 19:40:46 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 277 277 HWND getNextDlgGroupItem(HWND hwndCtrl, BOOL fPrevious); 278 278 279 BOOL isComingToTop() { return fComingToTop; }; 280 void setComingToTop(BOOL fTop) { fComingToTop = fTop; }; 281 BOOL isInTasklist() { return fTaskList; }; 282 279 283 static HWND Win32ToOS2Handle(HWND hwnd); 280 284 static HWND Win32ToOS2FrameHandle(HWND hwnd); … … 340 344 BOOL fCXDefault; 341 345 BOOL fParentDC; 346 BOOL fComingToTop; 342 347 343 348 HRGN hWindowRegion;
Note:
See TracChangeset
for help on using the changeset viewer.