Changeset 2435 for trunk/src/user32/new/pmframe.cpp
- Timestamp:
- Jan 14, 2000, 2:16:59 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/pmframe.cpp
r2433 r2435 1 /* $Id: pmframe.cpp,v 1.1 6 2000-01-13 20:11:37 sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.17 2000-01-14 13:16:57 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 287 287 288 288 //CB: todo: use result for WM_CALCVALIDRECTS 289 // mapWin32ToOS2Rect(WinQueryWindow(hwnd,QW_PARENT),hwnd,win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);290 289 mapWin32ToOS2Rect(win32wnd->getOS2FrameWindowHandle(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect); 291 290 … … 378 377 } 379 378 379 case WM_ERASEBACKGROUND: 380 break; 381 380 382 case WM_CALCVALIDRECTS: 381 383 { … … 447 449 VOID FrameUpdateClient(Win32BaseWindow *win32wnd) 448 450 { 451 RECT rectOld, rectNew; 449 452 RECTL rect; 450 453 SWP swpClient = {0}; 451 454 455 rectOld = *win32wnd->getClientRectPtr(); 452 456 win32wnd->MsgFormatFrame(NULL); 457 rectNew = *win32wnd->getClientRectPtr(); 458 if(WinEqualRect(0, (PRECTL)&rectOld, (PRECTL)&rectNew) == 1) { 459 WinInvalidateRect(win32wnd->getOS2FrameWindowHandle(), NULL, FALSE); 460 return; 461 } 453 462 //CB: todo: use result for WM_CALCVALIDRECTS 454 // mapWin32ToOS2Rect(WinQueryWindow(win32wnd->getOS2FrameWindowHandle(),QW_PARENT),win32wnd->getOS2FrameWindowHandle(),win32wnd->getClientRectPtr(),(PRECTLOS2)&rect);455 463 mapWin32ToOS2Rect(win32wnd->getOS2FrameWindowHandle(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect); 456 464
Note:
See TracChangeset
for help on using the changeset viewer.