Changeset 3705 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Jun 14, 2000, 3:17:51 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r3679 r3705 1 /* $Id: pmwindow.cpp,v 1.9 3 2000-06-08 18:10:10sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.94 2000-06-14 13:15:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 200 200 case WM_CREATE: 201 201 { 202 RestoreOS2TIB(); 203 PMFrameWindowProc(hwnd, msg, mp1, mp2); 204 SetWin32TIB(); 202 205 203 206 if(thdb->newWindow == 0) … … 213 216 return (MRESULT)TRUE; //discontinue window creation 214 217 } 215 RestoreOS2TIB();216 PMFrameWindowProc(hwnd, msg, mp1, mp2);217 SetWin32TIB();218 218 createfail: 219 219 RestoreOS2TIB(); … … 235 235 win32wnd->MsgDestroy(); 236 236 WinSetVisibleRegionNotify(hwnd, FALSE); 237 goto RunDef WndProc;237 goto RunDefFrameProc; 238 238 239 239 case WM_ENABLE: … … 450 450 dprintf(("OS2: WM_ACTIVATE %x %x %x", hwnd, mp1, mp2)); 451 451 452 WinSetWindowUShort(hwnd,QWS_FLAGS, SHORT1FROMMP(mp1) ? (flags | FF_ACTIVE):(flags & ~FF_ACTIVE)); 452 453 if(win32wnd->IsWindowCreated()) 453 454 { 454 WinSetWindowUShort(hwnd,QWS_FLAGS,mp1 ? (flags | FF_ACTIVE):(flags & ~FF_ACTIVE));455 455 win32wnd->MsgActivate((LOWORD(pWinMsg->wParam) == WA_ACTIVE_W) ? 1 : 0, HIWORD(pWinMsg->wParam), pWinMsg->lParam, (HWND)mp2); 456 456 … … 463 463 } 464 464 } 465 466 break;465 RestoreOS2TIB(); 466 return 0; 467 467 } 468 468 … … 470 470 { 471 471 dprintf(("OS2: WM_SIZE (%d,%d) (%d,%d)", SHORT1FROMMP(mp2), SHORT2FROMMP(mp2), SHORT1FROMMP(mp1), SHORT2FROMMP(mp2))); 472 break; 473 } 474 472 goto RunDefWndProc; 473 } 475 474 476 475 case WM_MINMAXFRAME: … … 737 736 738 737 case WM_FOCUSCHANGE: 739 dprintf(("OS2: WM_FOCUSCHANGE %x ", win32wnd->getWindowHandle()));740 goto RunDef WndProc;738 dprintf(("OS2: WM_FOCUSCHANGE %x %x %x", win32wnd->getWindowHandle(), mp1, mp2)); 739 goto RunDefFrameProc; //partly responsible for activation of frame windows 741 740 742 741 case WM_QUERYTRACKINFO:
Note:
See TracChangeset
for help on using the changeset viewer.