Changeset 2433 for trunk/src/user32/new/scroll.cpp
- Timestamp:
- Jan 13, 2000, 9:11:39 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/scroll.cpp
r2426 r2433 1 /* $Id: scroll.cpp,v 1.1 0 2000-01-13 13:54:53sandervl Exp $ */1 /* $Id: scroll.cpp,v 1.11 2000-01-13 20:11:37 sandervl Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 125 125 if (!win32wnd) return FALSE; 126 126 rectClient = *win32wnd->getClientRectPtr(); 127 if(win32wnd->getParent())128 mapWin32Rect(win32wnd->getParent() ? win32wnd->getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,win32wnd->getOS2FrameWindowHandle(),&rectClient);129 127 lprect->left = rectClient.left; 130 128 lprect->top = rectClient.bottom; … … 148 146 if (!win32wnd) return FALSE; 149 147 rectClient = *win32wnd->getClientRectPtr(); 150 if(win32wnd->getParent())151 mapWin32Rect(win32wnd->getParent() ? win32wnd->getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,win32wnd->getOS2FrameWindowHandle(),&rectClient);152 148 lprect->left = rectClient.right; 153 149 lprect->top = rectClient.top; … … 1473 1469 { 1474 1470 Win32BaseWindow *win32wnd = Win32BaseWindow::GetWindowFromHandle(hwnd); 1475 // BOOL fShowH = (nBar == SB_HORZ) ? 0:fShow,fShowV = (nBar == SB_VERT) ? 0:fShow;1476 1471 BOOL fShowH = (nBar == SB_HORZ) ? fShow : 0; 1477 1472 BOOL fShowV = (nBar == SB_VERT) ? fShow : 0;
Note:
See TracChangeset
for help on using the changeset viewer.