- Timestamp:
- Jan 15, 2000, 4:37:31 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbasenonclient.cpp
r2445 r2446 1 /* $Id: win32wbasenonclient.cpp,v 1. 9 2000-01-15 15:05:37sandervl Exp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.10 2000-01-15 15:37:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 194 194 if ((wParam & 0x0f) != HTHSCROLL) return; 195 195 scrollbar = SB_HORZ; 196 } 197 else /* SC_VSCROLL */ 196 } else /* SC_VSCROLL */ 198 197 { 199 198 if ((wParam & 0x0f) != HTVSCROLL) return; … … 204 203 pt.y -= rectWindow.top; 205 204 SCROLL_HandleScrollEvent(Win32Hwnd,0,MAKELONG(pt.x,pt.y),scrollbar,WM_LBUTTONDOWN); 206 if (GetCapture() != getWindowHandle()) return;205 if (GetCapture() != Win32Hwnd) return; 207 206 do 208 207 { … … 237 236 break; 238 237 } 239 } 240 while (msg.message != WM_LBUTTONUP); 238 } while (msg.message != WM_LBUTTONUP); 241 239 } 242 240 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.