Changeset 2881 for trunk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- Feb 24, 2000, 8:19:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r2804 r2881 1 /* $Id: oslibmsgtranslate.cpp,v 1.1 7 2000-02-16 14:34:27sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.18 2000-02-24 19:19:08 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 326 326 if (!win32wnd->CanReceiveSizeMsgs()) goto dummymessage; 327 327 328 ULONG windowStyle = WinQueryWindowULong(os2Msg->hwnd, QWL_STYLE); 329 win32wnd->setStyle(win32wnd->getStyle() & ~(WS_MAXIMIZE_W|WS_MINIMIZE_W)); 330 if (windowStyle & WS_MINIMIZED) { 331 win32wnd->setStyle(win32wnd->getStyle() | WS_MINIMIZE_W); 332 } 333 else 334 if (windowStyle & WS_MAXIMIZED) { 335 win32wnd->setStyle(win32wnd->getStyle() | WS_MAXIMIZE_W); 336 } 337 328 338 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 329 339 dprintf(("Set client rectangle to (%d,%d)(%d,%d)", swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy)); … … 667 677 case WM_PAINT: 668 678 { 669 if(win32wnd->Is Iconic()) {679 if(win32wnd->IsWindowIconic()) { 670 680 winMsg->message = WINWM_PAINTICON; 671 681 }
Note:
See TracChangeset
for help on using the changeset viewer.