Changeset 2140 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Dec 19, 1999, 6:46:26 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r2084 r2140 1 /* $Id: pmwindow.cpp,v 1.6 5 1999-12-16 00:11:45 sandervlExp $ */1 /* $Id: pmwindow.cpp,v 1.66 1999-12-19 17:46:25 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 156 156 (PFNWP)Win32WindowProc, /* Address of window procedure */ 157 157 // CS_SIZEREDRAW | CS_HITTEST | CS_MOVENOTIFY, 158 CS_SIZEREDRAW | CS_HITTEST, 158 //CS_SIZEREDRAW | CS_HITTEST, 159 CS_HITTEST, 159 160 NROF_WIN32WNDBYTES)) { 160 161 dprintf(("WinRegisterClass Win32BaseWindow failed")); … … 376 377 } 377 378 378 379 PRECT lpRect = win32wnd->getWindowRect(); 379 380 //SvL: Only send it when the client has changed & the frame hasn't 380 381 // If the frame size/position has changed, pmframe.cpp will send 381 382 // this message 382 383 384 385 elsewin32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy);383 if(lpRect->right == wp.x+wp.cx && lpRect->bottom == wp.y+wp.cy) { 384 win32wnd->MsgPosChanged((LPARAM)&wp); 385 } 386 else win32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy); 386 387 387 388 goto RunDefWndProc; … … 419 420 { 420 421 dprintf(("OS2: WM_MINMAXFRAME")); 421 422 break; 422 423 } 423 424 case WM_OWNERPOSCHANGE: … … 784 785 785 786 case WM_INITMENU: 786 787 787 win32wnd->MsgInitMenu((HWND)mp2); 788 break; 788 789 789 790 case WM_MENUSELECT:
Note:
See TracChangeset
for help on using the changeset viewer.