Changeset 9866 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Feb 27, 2003, 3:22:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r9834 r9866 1 /* $Id: pmwindow.cpp,v 1.20 0 2003-02-22 09:54:25sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.201 2003-02-27 14:22:43 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 707 707 break; 708 708 709 case WIN32APP_CHNGEFRAMECTRLS: 710 { 711 dprintf(("OS2: WIN32APP_CHANGEFRAMECTRLS")); 712 OSLibSetWindowStyle(win32wnd->getOS2FrameWindowHandle(), win32wnd->getOS2WindowHandle(), (ULONG)mp1, win32wnd->getExStyle(), (ULONG)mp2); 713 break; 714 } 715 709 716 case WM_SETFOCUS: 710 717 { … … 1328 1335 if(win32wnd->getOldStyle() != win32wnd->getStyle()) 1329 1336 { 1330 OSLibSetWindowStyle(win32wnd->getOS2FrameWindowHandle(), win32wnd->getOS2WindowHandle(), win32wnd->getStyle(), win32wnd->getExStyle() );1337 OSLibSetWindowStyle(win32wnd->getOS2FrameWindowHandle(), win32wnd->getOS2WindowHandle(), win32wnd->getStyle(), win32wnd->getExStyle(), win32wnd->getStyle()); 1331 1338 if(fOS2Look) { 1332 1339 DWORD dwOldStyle = win32wnd->getOldStyle(); 1333 1340 DWORD dwStyle = win32wnd->getStyle(); 1334 1341 1335 1342 win32wnd->setOldStyle(dwStyle); 1336 1343 if((dwOldStyle & WS_MINIMIZE_W) && !(dwStyle & WS_MINIMIZE_W)) { … … 1340 1347 if(dwStyle & WS_MAXIMIZE_W) { 1341 1348 //SC_MAXIMIZE -> SC_RESTORE 1342 dprintf(("%x -> SC_MAXIMIZE -> SC_RESTORE ", win32wnd->getWindowHandle()));1349 dprintf(("%x -> SC_MAXIMIZE -> SC_RESTORE (1)", win32wnd->getWindowHandle())); 1343 1350 FrameReplaceMenuItem(WinWindowFromID(hwnd, FID_MINMAX), MIT_END, SC_MAXIMIZE, SC_RESTORE, hbmFrameMenu[PMMENU_RESTOREBUTTON]); 1344 1351 } … … 1359 1366 if(!(dwOldStyle & WS_MAXIMIZE_W) && (dwStyle & WS_MAXIMIZE_W)) { 1360 1367 //SC_MAXIMIZE -> SC_RESTORE 1361 dprintf(("%x -> SC_MAXIMIZE -> SC_RESTORE ", win32wnd->getWindowHandle()));1368 dprintf(("%x -> SC_MAXIMIZE -> SC_RESTORE (2)", win32wnd->getWindowHandle())); 1362 1369 FrameReplaceMenuItem(WinWindowFromID(hwnd, FID_MINMAX), MIT_END, SC_MAXIMIZE, SC_RESTORE, hbmFrameMenu[PMMENU_RESTOREBUTTON]); 1363 1370 } … … 2077 2084 WinSendMsg(hwndMenu, MM_INSERTITEM, (MPARAM)&mi, 0); 2078 2085 } 2086 else 2087 dprintf(("WARNING: FrameReplaceMenuItem control %x not found",idOld)); 2088 2079 2089 WinEnableWindowUpdate(hwndMenu, TRUE); 2080 2090
Note:
See TracChangeset
for help on using the changeset viewer.