Changeset 10379 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Jan 11, 2004, 1:04:44 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r10328 r10379 1 /* $Id: pmwindow.cpp,v 1.22 5 2003-11-15 12:28:47sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.226 2004-01-11 12:03:16 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 44 44 #include <thread.h> 45 45 #include <wprocess.h> 46 #include <objhandle.h> 46 47 #include "caret.h" 47 48 #include "timer.h" … … 64 65 #include "dbglocal.h" 65 66 66 67 #define ODIN_SetExceptionHandler(a)68 #define ODIN_UnsetExceptionHandler(a)69 #define hookInit(a)70 67 71 68 // Notification that focus change has completed (UNDOCUMENTED) … … 332 329 //Create win32 bitmap handles of the OS/2 min, max and restore buttons 333 330 hBmpMinButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]); 331 ObjSetHandleFlag(hBmpMinButton, OBJHANDLE_FLAG_NODELETE, 1); 334 332 hBmpMinButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTONDOWN]); 333 ObjSetHandleFlag(hBmpMinButtonDown, OBJHANDLE_FLAG_NODELETE, 1); 335 334 hBmpMaxButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MAXBUTTON]); 335 ObjSetHandleFlag(hBmpMaxButton, OBJHANDLE_FLAG_NODELETE, 1); 336 336 hBmpMaxButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MAXBUTTONDOWN]); 337 ObjSetHandleFlag(hBmpMaxButtonDown, OBJHANDLE_FLAG_NODELETE, 1); 337 338 hBmpRestoreButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_RESTOREBUTTON]); 339 ObjSetHandleFlag(hBmpRestoreButton, OBJHANDLE_FLAG_NODELETE, 1); 338 340 hBmpRestoreButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_RESTOREBUTTONDOWN]); 341 ObjSetHandleFlag(hBmpRestoreButtonDown, OBJHANDLE_FLAG_NODELETE, 1); 339 342 hBmpCloseButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]); 343 ObjSetHandleFlag(hBmpCloseButton, OBJHANDLE_FLAG_NODELETE, 1); 340 344 hBmpCloseButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]); 345 ObjSetHandleFlag(hBmpCloseButtonDown, OBJHANDLE_FLAG_NODELETE, 1); 341 346 DevCloseDC(hdc); 342 347 } … … 2126 2131 2127 2132 dprintf(("PMFRAME:WM_OWNERPOSCHANGE %x %x %x (%s) (%d,%d) (%d,%d)", win32wnd->getWindowHandle(), pswp->hwnd, pswp->fl, DbgGetStringSWPFlags(pswp->fl), pswp->x, pswp->y, pswp->cx, pswp->cy)); 2128 goto RunDefFrameWndProc; 2133 RestoreOS2TIB(); 2134 rc = pfnFrameWndProc(hwnd, msg, mp1, mp2); 2135 SetWin32TIB(); 2136 dprintf(("PMFRAME: DEF WM_OWNERPOSCHANGE %x %x %x (%s) (%d,%d) (%d,%d)", win32wnd->getWindowHandle(), pswp->hwnd, pswp->fl, DbgGetStringSWPFlags(pswp->fl), pswp->x, pswp->y, pswp->cx, pswp->cy)); 2137 break; 2129 2138 } 2130 2139 #endif
Note:
See TracChangeset
for help on using the changeset viewer.