Changeset 1542 for trunk/src/user32
- Timestamp:
- Nov 2, 1999, 6:07:25 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmframe.cpp
r1540 r1542 1 /* $Id: pmframe.cpp,v 1.1 6 1999-11-01 19:11:41 sandervlExp $ */1 /* $Id: pmframe.cpp,v 1.17 1999-11-02 17:07:25 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 245 245 246 246 if(!win32wnd->CanReceiveSizeMsgs()) { 247 goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken 247 248 break; 248 249 } … … 267 268 if(wndAfter) wp.hwndInsertAfter = wndAfter->getWindowHandle(); 268 269 } 270 271 //CB: problems with profmine titlebar tracking 269 272 if(win32wnd->MsgPosChanging((LPARAM)&wp) == 0) 270 273 {//app or default window handler changed wp 271 274 dprintf(("PMFRAME: WM_ADJUSTWINDOWPOS, app changed windowpos struct")); 272 275 dprintf(("%x (%d,%d), (%d,%d)", pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy)); 276 273 277 OSLibMapWINDOWPOStoSWPFrame(&wp, pswp, &swpOld, hParent, hwnd); 274 278 dprintf(("%x (%d,%d), (%d,%d)", pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy)); … … 277 281 pswp->hwnd = hwnd; 278 282 279 RestoreOS2TIB(); 280 return (MRESULT)0xf; 283 goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken 284 //RestoreOS2TIB(); 285 //return (MRESULT)0xf; 281 286 } 282 287 goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken -
trunk/src/user32/win32dlg.cpp
r1526 r1542 1 /* $Id: win32dlg.cpp,v 1.2 6 1999-10-31 01:14:42 sandervlExp $ */1 /* $Id: win32dlg.cpp,v 1.27 1999-11-02 17:07:25 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 19 19 #include <win32dlg.h> 20 20 #include "oslibmsg.h" 21 #include "oslibwin.h" 21 22 #include "win32wdesktop.h" 22 23 #include "controls.h" … … 270 271 { 271 272 topOwner->EnableWindow( FALSE ); 273 //CB: todo: make modal, implement modeless, remove FCF_TASKLIST 274 // emulate WinProcessDlg 272 275 ShowWindow( SW_SHOW ); 273 276 -
trunk/src/user32/win32wbase.cpp
r1540 r1542 1 /* $Id: win32wbase.cpp,v 1.7 1 1999-11-01 19:11:43 sandervlExp $ */1 /* $Id: win32wbase.cpp,v 1.72 1999-11-02 17:07:25 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1601 1601 case WM_SETTEXT: 1602 1602 { 1603 if(!fInternalMsg) 1603 if(!fInternalMsg) 1604 1604 { 1605 1605 LRESULT result; … … 2422 2422 HWND Win32BaseWindow::SetActiveWindow() 2423 2423 { 2424 return OSLibWinSetActiveWindow(OS2Hwnd );2424 return OSLibWinSetActiveWindow(OS2HwndFrame); 2425 2425 } 2426 2426 //****************************************************************************** … … 2429 2429 BOOL Win32BaseWindow::EnableWindow(BOOL fEnable) 2430 2430 { 2431 return OSLibWinEnableWindow(OS2Hwnd , fEnable);2431 return OSLibWinEnableWindow(OS2HwndFrame, fEnable); 2432 2432 } 2433 2433 //****************************************************************************** … … 2435 2435 BOOL Win32BaseWindow::CloseWindow() 2436 2436 { 2437 return OSLibWinMinimizeWindow(OS2Hwnd );2437 return OSLibWinMinimizeWindow(OS2HwndFrame); 2438 2438 } 2439 2439 //****************************************************************************** … … 2459 2459 BOOL Win32BaseWindow::IsWindowEnabled() 2460 2460 { 2461 return OSLibWinIsWindowEnabled(OS2Hwnd );2461 return OSLibWinIsWindowEnabled(OS2HwndFrame); 2462 2462 } 2463 2463 //****************************************************************************** … … 2468 2468 return (dwStyle & WS_VISIBLE) == WS_VISIBLE; 2469 2469 #else 2470 return OSLibWinIsWindowVisible(OS2Hwnd );2470 return OSLibWinIsWindowVisible(OS2HwndFrame); 2471 2471 #endif 2472 2472 }
Note:
See TracChangeset
for help on using the changeset viewer.