Changeset 21642 for trunk/src/user32/win32wbasenonclient.cpp
- Timestamp:
- Jun 22, 2011, 2:53:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbasenonclient.cpp
r21641 r21642 216 216 217 217 SCROLL_HandleScrollEvent(getWindowHandle(),0,MAKELONG(pt.x,pt.y),scrollbar,WM_LBUTTONDOWN); 218 if (GetCapture() != Win32Hwnd) return;218 if (GetCapture() != getWindowHandle()) return; 219 219 do 220 220 { … … 229 229 pt.y = msg.pt.y; 230 230 ScreenToClient(getWindowHandle(), &pt); 231 pt.x += rectClient.left;232 pt.y += rectClient.top;231 pt.x += rectClient.left; 232 pt.y += rectClient.top; 233 233 msg.lParam = MAKELONG(pt.x,pt.y); 234 234 235 235 case WM_SYSTIMER: 236 SCROLL_HandleScrollEvent( Win32Hwnd,msg.wParam,msg.lParam,scrollbar,msg.message);236 SCROLL_HandleScrollEvent(getWindowHandle(),msg.wParam,msg.lParam,scrollbar,msg.message); 237 237 break; 238 238 … … 395 395 if (dwExStyle & WS_EX_CLIENTEDGE) 396 396 InflateRect (rect, GetSystemMetrics(SM_CXEDGE), GetSystemMetrics(SM_CYEDGE)); 397 397 398 398 //@@PF Wine does not have this but inner rect shrinks when 399 399 //WS_EX_STATICEDGE is usedd not on a child … … 921 921 if (hSysIcon) { 922 922 int size = GetSystemMetrics(SM_CYCAPTION); 923 923 924 924 r2 = r; 925 925 r2.right = r2.left + size; … … 1389 1389 #if 0 1390 1390 { 1391 for(int i=0;i<25000;i++) 1391 for(int i=0;i<25000;i++) 1392 1392 { 1393 1393 MSG msg; 1394 1394 1395 1395 InvalidateRect(Win32Hwnd, 0, 1); 1396 while(PeekMessageA(&msg, 0, 0, 0, TRUE) == TRUE) 1396 while(PeekMessageA(&msg, 0, 0, 0, TRUE) == TRUE) 1397 1397 { 1398 1398 DispatchMessageA(&msg);
Note:
See TracChangeset
for help on using the changeset viewer.