Changeset 325 for trunk/src/user32/new/pmwindow.cpp
- Timestamp:
- Jul 18, 1999, 12:39:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/pmwindow.cpp
r324 r325 1 /* $Id: pmwindow.cpp,v 1. 7 1999-07-17 18:30:51 sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.8 1999-07-18 10:39:51 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 23 23 #include "oslibwin.h" 24 24 #include "oslibutil.h" 25 #include "oslibgdi.h" 25 26 26 27 HMQ hmq = 0; /* Message queue handle */ … … 41 42 { 42 43 UINT error; 43 44 44 //CB: only fail on real error 45 45 error = WinGetLastError(hab) & 0xFFFF; //error code … … 164 164 case WM_MOVE: 165 165 { 166 RECTL rectChild;166 RECTLOS2 rectChild; 167 167 ULONG xParent, yParent; 168 168 169 169 dprintf(("OS2: WM_MOVE %x", hwnd)); 170 170 171 WinQueryWindowRect(hwnd, &rectChild);171 WinQueryWindowRect(hwnd, (PRECTL)&rectChild); 172 172 173 173 //Calculate position relative to parent window (real window or desktop) … … 346 346 break; 347 347 348 case WM_SETWINDOWPARAMS: 349 { 350 WNDPARAMS *wndParams = (WNDPARAMS *)mp1; 351 352 dprintf(("OS2: WM_SETWINDOWPARAMS %x", hwnd)); 353 if(wndParams->fsStatus & WPM_TEXT) { 354 if(win32wnd->MsgSetText(wndParams->pszText, wndParams->cchText)) { 355 goto RunDefWndProc; 356 } 357 } 358 goto RunDefWndProc; 359 } 360 348 361 case WM_PAINT: 349 362 dprintf(("OS2: WM_PAINT %x", hwnd)); … … 358 371 359 372 case WM_CALCVALIDRECTS: 360 case WM_SETWINDOWPARAMS:361 373 case WM_QUERYWINDOWPARAMS: 362 374 case WM_HITTEST:
Note:
See TracChangeset
for help on using the changeset viewer.