Changeset 5713 for trunk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- May 15, 2001, 4:31:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r5685 r5713 1 /* $Id: oslibmsgtranslate.cpp,v 1.5 0 2001-05-11 08:39:43sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.51 2001-05-15 14:31:38 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 192 192 TEB *teb = (TEB *)pTeb; 193 193 BOOL fWasDisabled = FALSE; 194 BOOL fIsFrame = FALSE; 194 195 int i; 195 196 … … 198 199 if(!win32wnd) { 199 200 win32wnd = Win32BaseWindow::GetWindowFromOS2FrameHandle(os2Msg->hwnd); 201 if(win32wnd) { 202 fIsFrame = TRUE; 203 } 200 204 } 201 205 … … 276 280 LONG xDelta = pswp->cx - swpOld.cx; 277 281 282 if(!fIsFrame) goto dummymessage; 283 278 284 if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0) goto dummymessage; 279 285 … … 294 300 if (!win32wnd->CanReceiveSizeMsgs()) goto dummymessage; 295 301 296 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 297 ///// dprintf(("Set client rectangle to (%d,%d)(%d,%d)", swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy)); 298 ///// win32wnd->setClientRect(swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy); 299 302 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) 303 { 300 304 teb->o.odin.wp.hwnd = win32wnd->getWindowHandle(); 301 305 if ((pswp->fl & SWP_ZORDER) && (pswp->hwndInsertBehind > HWND_BOTTOM))
Note:
See TracChangeset
for help on using the changeset viewer.