Changeset 1064 for trunk/src/user32/dc.cpp
- Timestamp:
- Sep 26, 1999, 5:25:55 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r1063 r1064 1 /* $Id: dc.cpp,v 1. 6 1999-09-26 14:44:58sandervl Exp $ */1 /* $Id: dc.cpp,v 1.7 1999-09-26 15:25:55 sandervl Exp $ */ 2 2 3 3 /* … … 1301 1301 PRECTL pScrollRect = NULL; 1302 1302 PRECTL pClipRect = NULL; 1303 ULONG scrollFlags = 0;1303 ULONG scrollFlags = SW_INVALIDATERGN; 1304 1304 1305 1305 window = Win32BaseWindow::GetWindowFromHandle(hwnd); … … 1310 1310 dprintf(("ScrollWindow %x %d %d\n", hwnd, dx, dy)); 1311 1311 MapWin32ToOS2Rectl(window->getClientRect(), (PRECTLOS2)&clientRect); 1312 //Rectangle could be relative to parent window, so fix this 1313 if(clientRect.yBottom != 0) { 1314 clientRect.yTop -= clientRect.yBottom; 1315 clientRect.yBottom = 0; 1316 } 1317 if(clientRect.xLeft != 0) { 1318 clientRect.xRight -= clientRect.xLeft; 1319 clientRect.xLeft = 0; 1320 } 1312 1321 if(pScroll) { 1313 1322 MapWin32ToOS2Rectl((RECT *)pScroll, (PRECTLOS2)&scrollRect);
Note:
See TracChangeset
for help on using the changeset viewer.