Changeset 1378 for trunk/src/user32/scroll.cpp
- Timestamp:
- Oct 20, 1999, 6:27:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/scroll.cpp
r1348 r1378 1 /* $Id: scroll.cpp,v 1.1 1 1999-10-18 10:54:03 sandervlExp $ */1 /* $Id: scroll.cpp,v 1.12 1999-10-20 16:27:00 cbratschi Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 703 703 return; 704 704 } 705 if(nBar == SB_VERT) 706 { 707 708 } 709 else 705 if(nBar == SB_VERT) 706 { 707 hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getVertScrollHandle()); 708 } 709 else 710 710 if(nBar == SB_HORZ) 711 711 { 712 712 hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getHorzScrollHandle()); 713 713 } 714 714 else hwndScroll = hwnd; 715 715 716 716 if(hwndScroll == 0) 717 717 return; 718 718 719 719 hdc = GetDCEx( hwndScroll, 0, DCX_CACHE | ((nBar == SB_CTL) ? 0 : DCX_WINDOW)); … … 1151 1151 CONV_POINT16TO32( (POINT16 *)&lParam, &pt ); 1152 1152 SCROLL_HandleScrollEvent( hwnd, SB_HORZ, message, pt ); 1153 1154 1155 1153 if(message == WM_MOUSEMOVE) { 1154 return 1; //SvL: Let PM change the mouse cursor to the default 1155 } 1156 1156 } 1157 1157 break; … … 1229 1229 CONV_POINT16TO32( (POINT16 *)&lParam, &pt ); 1230 1230 SCROLL_HandleScrollEvent( hwnd, SB_VERT, message, pt ); 1231 1232 1233 1231 if(message == WM_MOUSEMOVE) { 1232 return 1; //SvL: Let PM change the mouse cursor to the default 1233 } 1234 1234 } 1235 1235 break;
Note:
See TracChangeset
for help on using the changeset viewer.