Changeset 2529 for trunk/src/user32/dc.cpp
- Timestamp:
- Jan 27, 2000, 6:21:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r2515 r2529 1 /* $Id: dc.cpp,v 1.3 6 2000-01-25 20:39:41 sandervlExp $ */1 /* $Id: dc.cpp,v 1.37 2000-01-27 17:21:08 cbratschi Exp $ */ 2 2 3 3 /* … … 828 828 if (hwnd) 829 829 { 830 831 832 833 834 835 830 Win32BaseWindow *wnd = Win32BaseWindow::GetWindowFromHandle (hwnd); 831 if(wnd == NULL) { 832 dprintf(("ERROR: ReleaseDC %x %x failed", hwnd, hdc)); 833 return 0; 834 } 835 //SvL: Hack for memory.exe (doesn't get repainted properly otherwise) 836 836 // isOwnDC = wnd->isOwnDC() && wnd->getOwnDC(); 837 837 isOwnDC = wnd->isOwnDC() && (wnd->getOwnDC() == hdc); 838 838 } 839 839 if (isOwnDC) … … 1040 1040 { 1041 1041 BOOL result; 1042 1042 1043 1043 result = RedrawWindow (hwnd, pRect, NULLHANDLE, 1044 1044 RDW_ALLCHILDREN_W | RDW_INVALIDATE_W | … … 1250 1250 APIRET rc; 1251 1251 RECTL clientRect; 1252 PRECT pClientRect; 1252 1253 RECTL scrollRect; 1253 1254 RECTL clipRect; 1254 PRECT pClientRect;1255 1255 PRECTL pScrollRect = NULL; 1256 1256 PRECTL pClipRect = NULL; … … 1263 1263 } 1264 1264 dprintf(("ScrollWindow %x %d %d %x %x", hwnd, dx, dy, pScroll, pClip)); 1265 1265 1266 pClientRect = window->getClientRectPtr(); 1266 1267 clientRect.xLeft = 0; … … 1268 1269 clientRect.xRight = pClientRect->right - pClientRect->left; 1269 1270 clientRect.yTop = pClientRect->bottom - pClientRect->top; 1271 1270 1272 if(pScroll) { 1271 1273 mapWin32ToOS2Rect(window,(RECT *)pScroll, (PRECTLOS2)&scrollRect);
Note:
See TracChangeset
for help on using the changeset viewer.