Changeset 6972 for trunk/src/user32/winmouse.cpp
- Timestamp:
- Oct 9, 2001, 7:18:05 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/winmouse.cpp
r6846 r6972 1 /* $Id: winmouse.cpp,v 1.1 7 2001-09-27 10:02:38phaller Exp $ */1 /* $Id: winmouse.cpp,v 1.18 2001-10-09 05:18:05 phaller Exp $ */ 2 2 /* 3 3 * Mouse handler for DINPUT … … 248 248 DWORD, dwExtraInfo) 249 249 { 250 dprintf(("not implemented")); 250 INPUT i; 251 252 // format input packet 253 i.type = INPUT_MOUSE; 254 i.mi.dx = dx; 255 i.mi.dy = dy; 256 i.mi.mouseData = cButtons; // PH: is this really correct? 257 i.mi.dwFlags = dwFlags; 258 i.mi.dwExtraInfo = dwExtraInfo; 259 260 // forward to more modern API 261 SendInput(1, &i, sizeof(i) ); 251 262 } 252 263 … … 356 367 357 368 if (fUnicode) 358 SendMessageW(hwnd, msg.message, msg.wParam, msg.lParam);369 PostMessageW(hwnd, msg.message, msg.wParam, msg.lParam); 359 370 else 360 SendMessageA(hwnd, msg.message, msg.wParam, msg.lParam);371 PostMessageA(hwnd, msg.message, msg.wParam, msg.lParam); 361 372 362 373 SetMessageExtraInfo( (LPARAM)p->dwExtraInfo );
Note:
See TracChangeset
for help on using the changeset viewer.