- Timestamp:
- Oct 17, 1999, 8:09:22 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r1336 r1342 1 /* $Id: pmwindow.cpp,v 1.3 4 1999-10-17 15:46:08sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.35 1999-10-17 18:09:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 605 605 //OS/2 Window coordinates -> Win32 Window coordinates 606 606 if(win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1)))) 607 {608 //Changes mouse cursor to default609 goto RunDefWndProc;610 }607 { 608 //Changes mouse cursor to default 609 goto RunDefWndProc; 610 } 611 611 break; 612 612 } … … 949 949 950 950 OSLibMapSWPtoWINDOWPOS(pswp,&wp,pswpo,hParent,hFrame); 951 952 SWP swpFrame; 953 WinQueryWindowPos(WinQueryWindow(hwnd, QW_PARENT), &swpFrame); 954 POINTL point; 955 956 point.x = swpFrame.x; 957 point.y = swpFrame.y; 958 WinMapWindowPoints(WinQueryWindow(hwnd, QW_PARENT), HWND_DESKTOP, 959 &point, 1); 960 point.y = OSLibQueryScreenHeight() - point.y - swpFrame.cy; 961 962 win32wnd->setWindowRect(point.x, point.y, point.x+swpFrame.cx, point.y+swpFrame.cy); 963 win32wnd->setClientRect(pswpo->x, pswpo->y, pswpo->x + pswpo->cx, pswpo->y + pswpo->cy); 964 951 965 win32wnd->MsgPosChanged((LPARAM)&wp); 952 966 -
trunk/src/user32/scroll.cpp
r1333 r1342 1 /* $Id: scroll.cpp,v 1. 9 1999-10-17 12:17:44 cbratschiExp $ */1 /* $Id: scroll.cpp,v 1.10 1999-10-17 18:09:22 sandervl Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 1133 1133 CONV_POINT16TO32( (POINT16 *)&lParam, &pt ); 1134 1134 SCROLL_HandleScrollEvent( hwnd, SB_HORZ, message, pt ); 1135 if(message == WM_MOUSEMOVE) { 1136 return 1; //SvL: Let PM change the mouse cursor to the default 1137 } 1135 1138 } 1136 1139 break; … … 1208 1211 CONV_POINT16TO32( (POINT16 *)&lParam, &pt ); 1209 1212 SCROLL_HandleScrollEvent( hwnd, SB_VERT, message, pt ); 1213 if(message == WM_MOUSEMOVE) { 1214 return 1; //SvL: Let PM change the mouse cursor to the default 1215 } 1210 1216 } 1211 1217 break;
Note:
See TracChangeset
for help on using the changeset viewer.